sourcegraph/internal/executor
Erik Seliger 84b2afc235
worker: Reduce frequency of very frequently run jobs (#62864)
worker: Reduce frequency of very frequent jobs

I looked at background routines and noticed that many routines are running _very_ frequently, which can cause higher than necessary load, and also stress on redis to store all these runs.

I tried to put in some more sensible numbers (aligning it with what most other routines seem to use). For many instances, this will mean a 30x reduction in job invocations.

Test plan:

Code review from owners, and will watch S2 and dotcom for potential issues.
2024-05-23 18:31:20 +02:00
..
store bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
types worker: Reduce frequency of very frequently run jobs (#62864) 2024-05-23 18:31:20 +02:00
util bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
CODENOTIFY codenotify: dr. fritz is kil (#57313) 2023-10-03 16:19:55 +00:00
store.go Move Log Execution out of workerutil (#46742) 2023-01-26 09:58:29 -07:00