Skip to content

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

Open
tmak wants to merge 1 commit intoClosureTree:masterfrom
PinSeeker:use_db_lock_wait_and_timeout_functionality
Open

Use built-in wait and timeout functionality if the database engine supports it#81
tmak wants to merge 1 commit intoClosureTree:masterfrom
PinSeeker:use_db_lock_wait_and_timeout_functionality

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