mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +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 | ||
| transport/graphql | ||
| BUILD.bazel | ||
| init.go | ||
| mocks_test.go | ||
| observability.go | ||
| README.md | ||
| service_test.go | ||
| service.go | ||
Ranking
This package is an experimental service to show value in ranking search results. Do not depend on this API as it's unlikely to remain stable for some time.