Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

Race condition when hitting a rate limit in the final job in the queue #4

Closed
pavoni opened this issue Jan 26, 2015 · 0 comments · Fixed by #5
Closed

Race condition when hitting a rate limit in the final job in the queue #4

pavoni opened this issue Jan 26, 2015 · 0 comments · Fixed by #5

Comments

@pavoni
Copy link
Owner

pavoni commented Jan 26, 2015

If this was the last job, resque removes the queue.

This prevents the gem working out that it should requeue to the paused queue.

The result is that it queues to the main queue - and we get into a busy wait.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant