Commit graph

577 commits

Author SHA1 Message Date
Andre Medeiros
f956033e2d update last checked at 2021-07-08 20:33:35 -04:00
Andre Medeiros
aad2434d83 fix skipped accounts and locks 2021-07-08 20:26:01 -04:00
Andre Medeiros
c1f1d2a309 log info 2021-07-08 20:17:20 -04:00
Andre Medeiros
4719ee091e clear lock after job succeeds too 2021-07-08 20:14:12 -04:00
Andre Medeiros
eddf7b53d1 fix notification rates 2021-07-08 20:11:46 -04:00
Andre Medeiros
2b9da40594 prioritize by last time accounts were checked 2021-07-08 20:06:22 -04:00
Andre Medeiros
66c4c28cb4 update account enqueueing logic 2021-07-08 20:03:56 -04:00
André Medeiros
a3d9c85c1d Merge pull request #1 from christianselig/feature/reworked-workers
Reworked workers
2021-07-08 19:56:53 -04:00
Andre Medeiros
6a5444bffe fix tags 2021-07-08 19:55:14 -04:00
Andre Medeiros
dea42a40f6 stats where they belong yay 2021-07-08 19:26:15 -04:00
Andre Medeiros
8eeda61c38 fix Procfile 2021-07-08 19:04:47 -04:00
Andre Medeiros
280c7eb593 added new things 2021-07-08 19:03:46 -04:00
Andre Medeiros
8455d8941c increase connection lifetime 2021-07-07 22:59:19 -04:00
Andre Medeiros
15c543bb62 tweak db connections 2021-07-07 22:58:21 -04:00
Andre Medeiros
0db6090f3e ease up on the stats rate 2021-07-07 22:54:26 -04:00
Andre Medeiros
bfa1342c62 fix reused measuring 2021-07-07 22:44:46 -04:00
Andre Medeiros
8fb6adfae2 maybe measure idle time better 2021-07-07 22:41:27 -04:00
Andre Medeiros
e56483dbb7 build up space for GC and main thread/statsd 2021-07-07 22:34:57 -04:00
Andre Medeiros
ff6bbf2a6f try using default client 2021-07-07 22:25:57 -04:00
Andre Medeiros
b55bb4839b measure reddit connections 2021-07-07 22:19:02 -04:00
Andre Medeiros
9156b7f07d measure dequeue time 2021-07-07 21:58:36 -04:00
Andre Medeiros
67ae62b765 add heroku metrics 2021-07-07 21:44:52 -04:00
Andre Medeiros
a1f0d73fc6 import fastparser, increase connectino count to 128 2021-07-07 21:01:54 -04:00
Andre Medeiros
827e61f3f9 change how we select accounts 2021-07-07 18:47:59 -04:00
Andre Medeiros
9b73c74486 fix expiry 2021-07-07 18:46:12 -04:00
Andre Medeiros
809b075804 fix float issue 2021-07-07 18:44:14 -04:00
Andre Medeiros
69e7cfea71 add some precision to last checked 2021-07-07 18:37:10 -04:00
Andre Medeiros
a929de67d4 postgres does not like being passed backoff 2021-07-07 18:12:45 -04:00
Andre Medeiros
ec7bb411fd measure if we are falling behind 2021-07-07 18:09:29 -04:00
Andre Medeiros
3b9a1ecd3d bump to 6 threads per cpu 2021-07-07 18:04:24 -04:00
Andre Medeiros
725ad8bf93 release transaction before sleeping in worker 2021-07-07 17:51:27 -04:00
Andre Medeiros
c346b728fc latency is a positive value 2021-07-07 17:18:58 -04:00
Andre Medeiros
5095b78681 Measure latency properly 2021-07-07 17:15:44 -04:00
Andre Medeiros
87f9adf55b Scale back threads a bit 2021-07-07 16:30:28 -04:00
Andre Medeiros
c8da9bbff3 Use shared client and close body response 2021-07-07 16:24:23 -04:00
Andre Medeiros
c2ea210003 easy on the logs 2021-07-07 15:19:11 -04:00
Andre Medeiros
6bd4981201 sandbox and production clients 2021-07-07 11:37:30 -04:00
Andre Medeiros
989a04da3b pass a shared statsd instance 2021-07-05 22:46:56 -04:00
Andre Medeiros
d1c347b5d6 moar things 2021-07-05 22:18:22 -04:00
Andre Medeiros
86e6962474 fetch deps 2021-07-05 22:13:39 -04:00
Andre Medeiros
9af3586c31 some stats 2021-07-05 22:09:04 -04:00
Andre Medeiros
771e0e221e don't spam 2021-07-05 21:55:01 -04:00
Andre Medeiros
f83ce540b1 specify device token 2021-07-05 21:42:22 -04:00
Andre Medeiros
931bef0aeb iterate over devices 2021-07-05 21:39:09 -04:00
Andre Medeiros
239e5b928c read from bytes 2021-07-05 21:30:42 -04:00
Andre Medeiros
5f1f7ff7d6 remove secret files 2021-07-05 21:29:10 -04:00
Andre Medeiros
622ab6b6d3 see errors from push 2021-07-05 21:19:29 -04:00
Andre Medeiros
51c49193dd use binary params 2021-07-05 21:12:09 -04:00
Andre Medeiros
f2259ea5c1 Rebuild slug 2021-07-05 20:55:51 -04:00
Andre Medeiros
7bdb43835c Rebuild slug 2021-07-05 20:49:25 -04:00