Andre Medeiros
00f17b7622
now that we cleared things up, let's show all errors
2023-03-16 13:18:29 -04:00
Andre Medeiros
199643449d
make sure we don't run jobs that are too old
2023-03-16 13:12:31 -04:00
Andre Medeiros
f878a463b7
make logs less chatty
2023-03-16 10:44:09 -04:00
Andre Medeiros
4ec7338090
[render skip] log median score
2022-12-16 13:38:42 -05:00
Andre Medeiros
3b9da79e6e
[render skip] add development in favour of sandbox
2022-11-13 09:08:55 -05:00
Andre Medeiros
d6b967188c
things
2022-11-09 14:19:14 -05:00
Andre Medeiros
0ca21ffcb4
handle oauth revoked errors in watchers
2022-11-09 14:10:45 -05:00
Andre Medeiros
447a21ba60
increase prefetch
2022-11-05 20:31:55 -04:00
Andre Medeiros
4f200fd26a
spam prevention
2022-11-05 16:15:04 -04:00
André Medeiros
9341e08123
feat(ops): add distributed tracing ( #109 )
...
* tracing
* instrument redis
* add instrumentation around queue acks
* adjust backoff schedules for reddit
* set proper http client on reddit
* populate account last message ID on upsert
* pass last message id on upsert
* schedule accounts in a predictable order
2022-11-05 15:59:33 -04:00
Andre Medeiros
c6903d2b5f
Revert "each consumer gets their reddit client"
...
This reverts commit 5714fbaad7
.
2022-11-02 19:02:25 -04:00
Andre Medeiros
5714fbaad7
each consumer gets their reddit client
2022-11-02 18:51:16 -04:00
Andre Medeiros
710443830b
easy on the histograms
2022-11-02 18:44:42 -04:00
Andre Medeiros
31de625d04
reduce prefetch
2022-11-02 18:29:52 -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
873b9eb4db
reduce logger allocations
2022-11-01 10:16:17 -04:00
Andre Medeiros
0e342803a1
don't go crazy on emitting stats
2022-10-31 18:04:01 -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
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
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
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
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
2b03f4f884
be more forgiving with reddit errors
2022-10-26 18:28:11 -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
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
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
da20e76d1b
measure message age
2022-07-13 16:46:10 -04:00
Andre Medeiros
94d3941005
measure dequeue latency
2022-07-13 16:28:54 -04:00
Andre Medeiros
b26140f190
test: less prefetch more workers at the same time
2022-07-13 15:08:21 -04:00