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 |
|
Andre Medeiros
|
a8f046acb6
|
fix the notification metric for live activities
|
2022-10-26 21:08:22 -04:00 |
|
Andre Medeiros
|
561312f131
|
change account not found message
|
2022-10-26 21:06:15 -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 |
|
Andre Medeiros
|
13bc85dc8d
|
report on live activities
|
2022-10-26 20:36:03 -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
|
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 |
|
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 |
|