Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use TIMEOUT constant instead of hardcoded 2 second sleep #4952

Merged
merged 2 commits into from Aug 19, 2021

Conversation

dzunk
Copy link
Contributor

@dzunk dzunk commented Jul 31, 2021

At a quick glance, figured the sleep(2) call here should be using the same TIMEOUT value being passed to the brpop call. Also added a test for the "no active queues" code path.

@mperham mperham merged commit 69b2aec into sidekiq:master Aug 19, 2021
@dzunk dzunk deleted the use_timeout_constant branch August 19, 2021 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants