Commit graph

609 commits

Author SHA1 Message Date
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
Andre Medeiros
071b0db010 higher reporting rate for queue delay stat 2022-07-13 13:55:45 -04:00
Andre Medeiros
5e573c831a should run tests 2022-07-13 13:47:52 -04:00
Andre Medeiros
131205a0cb better latency measurements 2022-07-13 13:42:21 -04:00
Andre Medeiros
f785d1a3a4 log message acknowledgement 2022-07-13 13:24:32 -04:00
Andre Medeiros
aaf1fbd98a 401 and 403 are forbidden and we'll delete account 2022-07-13 13:09:11 -04:00
Andre Medeiros
a3e69954c8 up the batch sizes 2022-07-13 12:39:37 -04:00
Andre Medeiros
2fe34ecc99 run in singleton mode 2022-07-13 12:21:12 -04:00
Andre Medeiros
e80579ed35 tweak batch sizes 2022-07-13 12:19:11 -04:00
André Medeiros
e8a8e5a5b3 chore: use reddit ids when enqueueing accounts (#87) 2022-07-13 11:50:13 -04:00
Andre Medeiros
45793c9a1f tweak postgres connection 2022-07-13 11:09:06 -04:00
Andre Medeiros
9d0c5fb419 allow archived subreddits too 2022-07-12 14:45:19 -04:00
Andre Medeiros
e0f194a7d1 allow following restricted subreddits too 2022-07-12 14:37:51 -04:00
Andre Medeiros
f0c93a8bb9 fix trending 2022-07-04 09:49:30 -04:00
Andre Medeiros
fdcb900297 be more forgiving with itunes receipt verification outages 2022-06-30 16:14:07 -04:00
Andre Medeiros
647995271e give us a bit more breahting room in case of an itunes receipt check outage 2022-06-30 16:03:47 -04:00
Andre Medeiros
655300682f watchers check subreddit info with authentication 2022-06-30 15:24:58 -04:00
Andre Medeiros
d5affe36c1 more logging 2022-06-30 15:06:03 -04:00
Andre Medeiros
05cb97d412 be more specific about errors 2022-06-30 12:11:07 -04:00
Andre Medeiros
ce944f92f7 lets prune accounts again 2022-06-30 09:56:38 -04:00
Andre Medeiros
ee29fccaf9 chill logging 2022-06-29 13:25:59 -04:00
Andre Medeiros
6edb220d84 update reporting rate for API calls 2022-06-28 13:13:42 -04:00
Andre Medeiros
8fc0603735 add tags to api call metrics 2022-06-28 10:55:52 -04:00
André Medeiros
d3c9e303ff Update api.go 2022-06-27 18:47:07 -04:00
Andre Medeiros
523dce6300 tweak pool 2022-06-27 10:36:01 -04:00
Andre Medeiros
ad62000372 fix authenticated client call 2022-06-25 15:52:47 -04:00
Andre Medeiros
51ba167a09 tweak scaling 2022-06-25 15:13:56 -04:00