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

Document change in behaviour when no interruption adapter is found #425

Merged

Conversation

bdewater
Copy link
Contributor

@bdewater bdewater commented Aug 30, 2023

The problem with the old behaviour is that (depending on the queue adapter) it can lead to lost jobs if the process cannot re-enqueue jobs and shutdown gracefully, since it would never interrupt the job. This is no longer silently allowed to happen. If you need this to work as it used to, you can register your own interruption adapter with:
`JobIteration::Integrations.register("queue_adapter_name", -> { false })`
@Mangara Mangara merged commit bd21ef6 into Shopify:main Aug 30, 2023
20 checks passed
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems August 30, 2023 02:26 Inactive
@bdewater bdewater deleted the interruption-adapter-from-job-changelog branch August 30, 2023 13:28
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