mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
This is the fix for an issue @michaellzc reported in https://sourcegraph.slack.com/archives/C05DWT4ANHH/p1709240944860449 - when `db.UserExternalAccounts().Delete(...)` is called with an empty ID set (i.e. the cleanup heuristic finds nobody that needs to be demoted/deleted), the method interprets that as a request to delete _all_ SOAP users, which is definitely not what we want. This regression was introduced in https://github.com/sourcegraph/sourcegraph/pull/56866 ## Test plan A new test case courtesy of @michaellzc --------- Co-authored-by: Michael Lin <mlzc@hey.com> |
||
|---|---|---|
| .. | ||
| internal | ||
| job | ||
| shared | ||
| BUILD.bazel | ||
| CODENOTIFY | ||
| image_test.yaml | ||
| main.go | ||
| README.md | ||
Worker
The worker service is a collection of the background jobs performed by a Sourcegraph instance. Jobs registered to the worker will run periodically or in response to some event read from the database.