mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 20:11:54 +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. |
||
|---|---|---|
| .. | ||
| store | ||
| types | ||
| util | ||
| BUILD.bazel | ||
| CODENOTIFY | ||
| store.go | ||