mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:31:48 +00:00
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. |
||
|---|---|---|
| .. | ||
| internal | ||
| shared | ||
| BUILD.bazel | ||
| consts.go | ||
| init.go | ||
| observability.go | ||
| service.go | ||