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 sqlserver lock #1123

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

Commits on Oct 25, 2024

  1. Fix sqlserver lock

    When acquiring the `sqlserver` lock, it fails immediately if the lock
    can't be acquired. When running multiple migrations concurrently, only
    one of them will succeed and the other ones will fail.
    
    Wait for up to 10 seconds when acquiring the lock. This way it lets the
    other entity that has acquired the lock do its job first. This is
    consistent with what this library does for `postgres` (though it waits
    indefinitely) and for `mysql`.
    d10i committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    78a9f80 View commit details
    Browse the repository at this point in the history