8000 Postgresql consumer: option to use try lock by FZambia · Pull Request #988 · centrifugal/centrifugo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Postgresql consumer: option to use try lock #988

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

Merged
merged 1 commit into from
Jun 8, 2025
Merged

Postgresql consumer: option to use try lock #988

merged 1 commit into from
Jun 8, 2025

Conversation

FZambia
Copy link
Member
@FZambia FZambia commented May 17, 2025

Proposed changes

New option for PG consumer use_try_lock (boolean, default false) to use pg_try_advisory_xact_lock instead of pg_advisory_xact_lock for locking outbox table. This may help to reduce the number of long-running transactions on PG side.

@FZambia FZambia merged commit 156073a into master Jun 8, 2025
4 checks passed
@FZambia FZambia deleted the pg_try_lock branch June 8, 2025 06:37
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
0