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

The default server_login_retry interacts badly with having multiple hosts #872

Open
JelteF opened this issue Jun 14, 2023 · 0 comments
Open
Labels
bug something is broken

Comments

@JelteF
Copy link
Member

JelteF commented Jun 14, 2023

PgBouncer can sometimes has multiple hosts to which it can connect, either because there are multiple hosts in the host list or because the DNS returns multiple entries. Even in these cases when only one of e.g. 10 hosts is down the server_login_retry will cause a 15 second wait before connecting to the next possible host. It would be much better if this 15 second wait only started when all available hosts were tried.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something is broken
Projects
None yet
Development

No branches or pull requests

1 participant