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

Add transaction timeout #1242

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AndrewJackson2020
Copy link
Contributor

This PR adds a transaction timeout global setting to pgbouncer. In the current state there is an idle_in_transaction_timeout and a query_timeout but no transaction_timeout. This is meant to combat issues where a user starts a transaction and then proceeds to wait and issue SELECT 1; repeatedly thus making the transaction not idle. There is an equivalent setting on the postgres side but it is easily overridden by any user.

Not looking to get this in before the next release but I believe that this functionality could be very useful and just want to put a PR out here for visibility.

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