Skip to content

option to disable default pool size#1227

Merged
JelteF merged 1 commit intopgbouncer:masterfrom
AndrewJackson2020:zero_pool_size
Dec 23, 2024
Merged

option to disable default pool size#1227
JelteF merged 1 commit intopgbouncer:masterfrom
AndrewJackson2020:zero_pool_size

Conversation

@AndrewJackson2020
Copy link
Contributor

This PR implements the non default option of choosing zero as the default pool size and not having the restriction apply. This is useful in situations where you would rather limit connections by user or database instead of pool. Without this option it can be easy to forget to make sure that default pool size is larger than the limit you actually want to apply.

@JelteF JelteF merged commit bed917b into pgbouncer:master Dec 23, 2024
@AndrewJackson2020 AndrewJackson2020 deleted the zero_pool_size branch December 23, 2024 14:34
rajaryanece pushed a commit to rajaryanece/pgbouncer that referenced this pull request Jan 16, 2025
This PR implements the non default option of choosing zero as the
default pool size and not having the restriction apply. This is useful
in situations where you would rather limit connections by user or
database instead of pool. Without this option it can be easy to forget
to make sure that default pool size is larger than the limit you
actually want to apply.

Co-authored-by: Andrew Jackson <andrewjackson2988@gmail.com>
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.

2 participants