Commit graph

410 commits

Author SHA1 Message Date
Andre Medeiros
f8df346eb6 clean pool on process shutdown 2022-11-02 02:21:19 -04:00
Andre Medeiros
2ea133966b control pool size 2022-11-02 02:07:54 -04:00
Andre Medeiros
2b81f4c59f use faktory pool 2022-11-02 01:56:13 -04:00
Andre Medeiros
a442d30d05 return nil on reddit failures 2022-11-02 01:32:42 -04:00
Andre Medeiros
458382f3b8 be selective in what error we return 2022-11-02 01:28:15 -04:00
Andre Medeiros
65f79dc5ae oops 2022-11-02 01:19:13 -04:00
Andre Medeiros
c8accd5618 fix jobs in scheduler 2022-11-02 01:17:54 -04:00
Andre Medeiros
22c80c260f fix stuck account id passing 2022-11-02 01:15:25 -04:00
Andre Medeiros
d27f4604b9 fix casting 2022-11-02 01:11:49 -04:00
Andre Medeiros
bf84f75be4 apparently workers run all jobs 2022-11-02 01:06:08 -04:00
Andre Medeiros
d36d4f9b01 migrate from rmq to faktory 2022-11-02 00:49:20 -04:00
Andre Medeiros
b1aac725aa try reddit without verifyign certificates 2022-11-01 19:41:49 -04:00
Andre Medeiros
0b81d4c9d3 add runtime profile rates 2022-11-01 19:36:40 -04:00
Andre Medeiros
c7a57121b6 change prefetch limit for notifications worker 2022-11-01 19:08:10 -04:00
Andre Medeiros
6cf7c54c86 upgrade rmq to v5 2022-11-01 19:02:25 -04:00
Andre Medeiros
420499c9bb update scheduler 2022-11-01 13:14:33 -04:00
Andre Medeiros
646dc0dd34 implement account soft delete 2022-11-01 12:45:11 -04:00
Andre Medeiros
98cafdfaed make things better for the golang scheduler 2022-11-01 11:25:38 -04:00
Andre Medeiros
873b9eb4db reduce logger allocations 2022-11-01 10:16:17 -04:00
Andre Medeiros
484876adab revert queue redis 2022-11-01 09:53:09 -04:00
Andre Medeiros
61dc3b558f get a separate redis connection for the queue itself 2022-10-31 22:41:41 -04:00
Andre Medeiros
a441d2723e better use of context 2022-10-31 22:33:11 -04:00
Andre Medeiros
f01d305c57 explicitly pass context 2022-10-31 21:49:34 -04:00
Andre Medeiros
d9f7689d27 one context per goroutine 2022-10-31 21:48:47 -04:00
Andre Medeiros
eb1d904f86 change query 2022-10-31 21:32:43 -04:00
Andre Medeiros
d468a6e88b change how we iterate over accounts 2022-10-31 21:30:12 -04:00
Andre Medeiros
683edbb091 dial down live activities 2022-10-31 20:58:02 -04:00
Andre Medeiros
0e342803a1 don't go crazy on emitting stats 2022-10-31 18:04:01 -04:00
Andre Medeiros
df0860dd05 increase consumers and make choice more direct 2022-10-31 17:33:41 -04:00
Andre Medeiros
62df908b33 increase maxprocs 2022-10-31 16:09:03 -04:00
Andre Medeiros
3750374aa0 increase maxprocs 2022-10-31 16:04:08 -04:00
Andre Medeiros
00bd99b60e add logging to the scheduler 2022-10-31 15:49:27 -04:00
Andre Medeiros
16eeaae3ad poll twice as much for jobs 2022-10-31 15:22:42 -04:00
Andre Medeiros
fbd3ff617a fix subreddit watcher 2022-10-31 15:12:27 -04:00
Andre Medeiros
a467b08878 set dismissal for live activity in lock screen 2022-10-31 13:35:01 -04:00
Andre Medeiros
6e668e538c omit live activity fields when they're empty 2022-10-27 21:54:30 -04:00
Andre Medeiros
2352e146c3 address an edge case where threads without comments will never stop 2022-10-27 21:52:06 -04:00
Andre Medeiros
c9877879da same timezone everywhere 2022-10-27 15:47:26 -04:00
Andre Medeiros
11ccf632c3 only use the production apns server for notifications 2022-10-27 15:24:28 -04:00
Andre Medeiros
28c71384be always use production APNS for live activities 2022-10-27 15:06:57 -04:00
Andre Medeiros
025be60c97 small tweak 2022-10-27 13:42:39 -04:00
Andre Medeiros
deae785d90 add more to logging in beta 2022-10-27 12:27:19 -04:00
Andre Medeiros
2c31a0df84 increase cron concurrent jobs 2022-10-27 10:09:40 -04:00
Andre Medeiros
ca08e45630 bring back logging 2022-10-27 09:51:23 -04:00
Andre Medeiros
0bee289aa6 handle edge case of ending without comment 2022-10-27 09:51:07 -04:00
Andre Medeiros
1a5f919bb9 easy with the logging 2022-10-26 22:58:59 -04:00
Andre Medeiros
030b73e493 increase live activity batch size 2022-10-26 22:55:08 -04:00
Andre Medeiros
ab93194e0d check for apns token before creating it 2022-10-26 22:45:05 -04:00
Andre Medeiros
2c04466a6b more reddit client tweaks 2022-10-26 21:59:44 -04:00
Andre Medeiros
4a805e57d0 experiment with http client changes in reddit 2022-10-26 21:39:04 -04:00