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

Fix poisoned queues #563

Merged
merged 3 commits into from
Jul 1, 2019
Merged

Fix poisoned queues #563

merged 3 commits into from
Jul 1, 2019

Conversation

glacials
Copy link
Owner

@glacials glacials commented Jul 1, 2019

Fixes beta and production trying to process jobs enqueued by the other, which can make a box error indefinitely as it tries to run a job it doesn't know how to run.

Along with this I'll set QUEUE_PREFIX to production and beta on the respective boxes.

Fixes beta and production trying to process jobs enqueued by the other,
which can make a box error indefinitely as it tries to run a job it
doesn't know how to run.

Along with this I'll set QUEUE_PREFIX to `production` and `beta` on the
respective boxes.
@glacials glacials requested a review from BatedUrGonnaDie July 1, 2019 04:40
glacials added 2 commits June 30, 2019 22:58
Previous commit didn't work because delayed_job takes from all queues
indiscriminately unless you manually specify the QUEUES env var. There
is no way to do this based on prefix, but I've opened
collectiveidea/delayed_job#1095.

For now we'll have to keep QUEUES in sync with the jobs we have.
@glacials glacials requested a review from BatedUrGonnaDie July 1, 2019 06:02
@glacials glacials merged commit c813ee2 into master Jul 1, 2019
@glacials glacials deleted the fix_poisoned_queues branch July 1, 2019 06:20
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