Commit graph

635 commits

Author SHA1 Message Date
dependabot[bot]
6fd16dda17 Bump github.com/spf13/cobra from 1.4.0 to 1.6.1 (#103)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:58:35 -04:00
dependabot[bot]
47e5b40b2f Bump github.com/heroku/x from 0.0.50 to 0.0.55 (#101)
Bumps [github.com/heroku/x](https://github.com/heroku/x) from 0.0.50 to 0.0.55.
- [Release notes](https://github.com/heroku/x/releases)
- [Commits](https://github.com/heroku/x/compare/v0.0.50...v0.0.55)

---
updated-dependencies:
- dependency-name: github.com/heroku/x
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:55:39 -04:00
Andre Medeiros
c08de574e9 fix context usage in scheduler 2022-10-26 20:48:22 -04:00
Andre Medeiros
1a861ea628 finalize context fixing 2022-10-26 20:46:17 -04:00
Andre Medeiros
b0025e2367 more context fixes 2022-10-26 20:43:44 -04:00
Andre Medeiros
9a34ae3493 correct use of context 2022-10-26 20:42:48 -04:00
dependabot[bot]
208ae5557f Bump github.com/jackc/pgconn from 1.12.1 to 1.13.0 (#93)
Bumps [github.com/jackc/pgconn](https://github.com/jackc/pgconn) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/jackc/pgconn/releases)
- [Changelog](https://github.com/jackc/pgconn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgconn/compare/v1.12.1...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgconn
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:37:51 -04:00
Andre Medeiros
13bc85dc8d report on live activities 2022-10-26 20:36:03 -04:00
dependabot[bot]
e0e4329f71 Bump github.com/stretchr/testify from 1.7.1 to 1.8.1 (#102)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:32:28 -04:00
dependabot[bot]
e885e00471 Bump github.com/go-co-op/gocron from 1.13.0 to 1.17.1 (#99)
Bumps [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) from 1.13.0 to 1.17.1.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v1.13.0...v1.17.1)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 20:26:48 -04:00
Andre Medeiros
a7f585be95 make measurements more accurate in notifications worker 2022-10-26 20:26:38 -04:00
Andre Medeiros
bf2dff8497 more precision on measurement 2022-10-26 20:20:45 -04:00
Andre Medeiros
9154ee8e7f be more forgiving with comment age 2022-10-26 19:31:16 -04:00
Andre Medeiros
cd8b0b0dca remove live activity record when oauth revoked 2022-10-26 19:00:40 -04:00
Andre Medeiros
f50d9f075e use error maps to define custom errors per request 2022-10-26 18:51:33 -04:00
Andre Medeiros
2b03f4f884 be more forgiving with reddit errors 2022-10-26 18:28:11 -04:00
Andre Medeiros
840d644a4e handle threads with no comments 2022-10-26 13:15:59 -04:00
Andre Medeiros
6fdcd3540b send comment ID 2022-10-24 12:25:09 -04:00
Andre Medeiros
3da569fd37 add live activities worker 2022-10-24 10:42:48 -04:00
Andre Medeiros
696f932baa Live activities 2022-10-19 09:37:41 -04:00
Andre Medeiros
01a4ae9559 add pprof endpoints 2022-08-08 12:48:34 -04:00
Andre Medeiros
13af0d1b4a use the right id field 2022-07-31 15:23:29 -04:00
Andre Medeiros
bb2f709259 fix batches 2022-07-31 15:12:31 -04:00
Andre Medeiros
1617bf88e1 less mutations on the accounts table 2022-07-31 15:07:14 -04:00
Andre Medeiros
f3814683b8 don't skimp out on redis connections 2022-07-15 12:55:56 -04:00
Andre Medeiros
4e453e0db2 measure reddit latency when we finish reading the body 2022-07-15 12:36:29 -04:00
Andre Medeiros
102cbb2ee2 setup timeouts on reddit http client 2022-07-15 12:34:28 -04:00
Andre Medeiros
547ab64c20 add request ids to logs 2022-07-15 12:19:27 -04:00
Andre Medeiros
f4fea41435 remove some load 2022-07-13 18:43:27 -04:00
Andre Medeiros
3b08d6b8e4 fix stats name 2022-07-13 18:30:03 -04:00
Andre Medeiros
73da53ab70 measure runtime 2022-07-13 18:25:00 -04:00
Andre Medeiros
63cc67cd86 double pool 2022-07-13 17:45:48 -04:00
Andre Medeiros
ceade8fe74 but for real this time 2022-07-13 17:29:40 -04:00
Andre Medeiros
3bdd348d50 reduce account updates 2022-07-13 17:28:46 -04:00
Andre Medeiros
fa8b75d728 tone down pool sizes 2022-07-13 17:14:13 -04:00
Andre Medeiros
ae764077b4 increase batch size on scheduler 2022-07-13 17:01:04 -04:00
Andre Medeiros
da20e76d1b measure message age 2022-07-13 16:46:10 -04:00
Andre Medeiros
556c1dd9b2 test default http client 2022-07-13 16:38:10 -04:00
Andre Medeiros
94d3941005 measure dequeue latency 2022-07-13 16:28:54 -04:00
Andre Medeiros
80bae7ff9f get string slice straight from command result 2022-07-13 16:24:51 -04:00
dependabot[bot]
e1b880d063 Merge pull request #72 from christianselig/dependabot/go_modules/github.com/jackc/pgx/v4-4.16.1 2022-07-13 20:13:56 +00:00
dependabot[bot]
e55a2a07f5 Bump github.com/jackc/pgx/v4 from 4.16.0 to 4.16.1
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.16.0 to 4.16.1.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.16.0...v4.16.1)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-13 20:11:50 +00:00
dependabot[bot]
4a3d9ad265 Merge pull request #73 from christianselig/dependabot/go_modules/github.com/jackc/pgconn-1.12.1 2022-07-13 20:11:08 +00:00
Andre Medeiros
a8b1e3c107 raise pgbouncer conns 2022-07-13 15:58:58 -04:00
Andre Medeiros
1f59a47880 increase pool size 2022-07-13 15:52:07 -04:00
Andre Medeiros
8156756e54 keep locks around longer 2022-07-13 15:44:50 -04:00
Andre Medeiros
be7bd24ae1 increase multiplier 2022-07-13 15:30:39 -04:00
Andre Medeiros
b26140f190 test: less prefetch more workers at the same time 2022-07-13 15:08:21 -04:00
Andre Medeiros
a00e4405c7 tweak redis conns 2022-07-13 15:02:38 -04:00
Andre Medeiros
624cebf8ef higher prefetch 2022-07-13 14:54:27 -04:00