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

consume: use jittered poll duration in all cases #117

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

psampaz
Copy link
Contributor

@psampaz psampaz commented Mar 21, 2022

https://github.com/adjust/rmq/pull/116/files introduced jittered poll duration but it is was not used in all cases of redisQueue.consume(). This PR fix this and also simplifies the code.

@psampaz psampaz changed the title consume: use jittered duration in all cases consume: use jittered poll duration in all cases Mar 21, 2022
@psampaz psampaz merged commit 6edd67b into master Mar 21, 2022
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.

2 participants