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 idle client in transaction configuration #380

Merged

Conversation

zainkabani
Copy link
Contributor

Pgbouncer has this configuration as a blanket timeout for all users. This is especially helpful when migrating from Pgbouncer to Pgcat and not having to worry that all users have reasonable timeouts set while staying at parity with Pgbouncer

@zainkabani zainkabani marked this pull request as draft March 23, 2023 17:13
@zainkabani zainkabani marked this pull request as ready for review March 23, 2023 17:43
@levkk
Copy link
Collaborator

levkk commented Mar 23, 2023

Looks good. Would you be able to add some tests?

tests/ruby/misc_spec.rb Outdated Show resolved Hide resolved
Copy link
Collaborator

@levkk levkk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Let me know if it's ready to merge.

@zainkabani
Copy link
Contributor Author

It's ready to merge!

@levkk levkk merged commit ca4431b into postgresml:main Mar 24, 2023
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.

None yet

2 participants