Commit graph

27 commits

Author SHA1 Message Date
Andre Medeiros
9fa0257d84 reorganize commands to keep things more consistent 2021-07-13 13:14:25 -04:00
Andre Medeiros
49a89d3674 connect with SSL 2021-07-13 09:24:31 -04:00
Andre Medeiros
2304015aac only delete accounts that haven't updated expiry in over 2 hours 2021-07-12 15:59:27 -04:00
Andre Medeiros
56cbf6b4ce clean queues and stale accounts 2021-07-12 15:36:22 -04:00
Andre Medeiros
a3b9e1a0ac fix up redis so that we only parse the script once 2021-07-10 01:00:00 -04:00
Andre Medeiros
d563ad26f1 report statistics about account and device counts 2021-07-09 02:30:30 -04:00
Andre Medeiros
fd18ea551e make logs less chatty 2021-07-09 02:00:57 -04:00
Andre Medeiros
a93ff0e1af enqueue accounts in a more manageable fashion 2021-07-09 01:29:07 -04:00
Andre Medeiros
c4a0704883 enqueue directly from redis 2021-07-09 01:05:36 -04:00
Andre Medeiros
4a92b90df9 limit the amount of accounts we batch at any given time 2021-07-09 00:50:53 -04:00
Andre Medeiros
60e18c37f7 be more aggressive with scheduling 2021-07-09 00:27:50 -04:00
Andre Medeiros
961e41094d set the key only if it doesn't exist, otherwise it will never expire 2021-07-09 00:11:05 -04:00
Andre Medeiros
3ce858927b do batches in redis 2021-07-08 23:12:50 -04:00
Andre Medeiros
b7aea89cfc Measure schedule time 2021-07-08 22:15:28 -04:00
Andre Medeiros
d65bab7970 rejig sql 2021-07-08 22:09:14 -04:00
Andre Medeiros
9c70cee166 fix error handling 2021-07-08 21:50:45 -04:00
Andre Medeiros
3d8492e757 change locking around 2021-07-08 21:44:06 -04:00
Andre Medeiros
26a034a68b fix logic again 2021-07-08 21:20:49 -04:00
Andre Medeiros
09c42c379c set things right 2021-07-08 21:07:01 -04:00
Andre Medeiros
0f70725be5 enqueue by batches 2021-07-08 21:01:45 -04:00
Andre Medeiros
45576b4d16 batch in second intervals 2021-07-08 20:53:09 -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
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
Andre Medeiros
dea42a40f6 stats where they belong yay 2021-07-08 19:26:15 -04:00
Andre Medeiros
280c7eb593 added new things 2021-07-08 19:03:46 -04:00