Improve Sidekiq jobs that use DB load balancing
What does this MR do and why?
Removing this FF changes the way we handle Sidekiq jobs that read from DB replicas. The job will no longer be scheduled 1 second in the future because this adds considerable overhead to Sidekiq and Redis.
The Sidekiq job would just sleep for at most 1 second if the replica is not up to date.
This has already been enabled on GitLab.com for more than a month.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Heinrich Lee Yu