Skip to content

Fix Sidekiq sleep time for jobs that use replicas

Heinrich Lee Yu requested to merge fix-sidekiq-sleep-time into master

What does this MR do and why?

We should sleep based on the time remaining to reach the minimum delay and not based on the time elapsed from creation.

Follow-up to !74532 (merged)

Related to gitlab-com/gl-infra/scalability#1380 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Heinrich Lee Yu

Merge request reports