sourcegraph/internal/codeintel/ranking
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
..
internal worker: Reduce frequency of very frequently run jobs (#62864) 2024-05-23 18:31:20 +02:00
shared bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
transport/graphql 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
init.go codeintel: consolidate enterprise & oss codeintel packages (#54431) 2023-07-05 14:58:41 +01:00
mocks_test.go codeintel: consolidate enterprise & oss codeintel packages (#54431) 2023-07-05 14:58:41 +01:00
observability.go codeintel: consolidate enterprise & oss codeintel packages (#54431) 2023-07-05 14:58:41 +01:00
README.md codeintel: consolidate enterprise & oss codeintel packages (#54431) 2023-07-05 14:58:41 +01:00
service_test.go all: use observation.TestContextTB instead of TestContext (#61751) 2024-04-10 14:07:39 +02:00
service.go Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +02:00

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.