Loading
Fix deduplication strategy in AuthorizedProjectUpdate workers
What does this MR do and why?
Fix deduplication staregy in AuthorizedProjectUpdate workers
- Use
until_executeddeduplication strategy withreschedule_once EnqueueGroupMembersRefreshAuthorizedProjectsWorkerfor instance is a safety net worker that schedules a refresh job per user, but because of the deduplication strategy it's doing the same work multiple times in a short span, https://log.gprd.gitlab.net/app/r/s/Gq6Pu.- We had already fixed the dedup strategy for some of the other workers like
AuthorizedProjectsWorker, so we are making the strategy consistent across all workers that compute project_authorizations - Add
defer_on_database_heatlh_signalto all workers
Changelog: performance
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #601717 (closed)
Edited by Hinam Mehra