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

Use built-in wait and timeout functionality if the database engine supports it #81

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

Conversation

tmak
Copy link

@tmak tmak commented Nov 5, 2023

This is regarding issue #80

@tmak
Copy link
Author

tmak commented Nov 6, 2023

The only issue I see for PostgreSQL and using pg_advisory_lock is that it's unclear if the PostgreSQL client settings statement_timeout and lock_timeout apply, which would mean that it may not infinitely wait for the lock to be acquired and rather throw a PostgreSQL error.

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.

1 participant