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

Clear locks using reserve_sql_strategy #211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 9, 2023

  1. Clear locks using reserve_sql_strategy

    When shutting down and releasing jobs, we should still respect the `ActiveRecord.configuration.reserve_sql_strategy` and clear locks using explicit job ids if the strategy is `:default_sql`. This can help avoid transaction isolation conflicts when shutting down several job runners.
    njakobsen committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    c27fb8c View commit details
    Browse the repository at this point in the history