We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e659c08 + 7fccf1d commit a2b421eCopy full SHA for a2b421e
templates/pgbouncer.ini.j2
@@ -148,8 +148,12 @@ reserve_pool_size = {{ pgbouncer_reserve_pool_size }}
148
reserve_pool_timeout = {{ pgbouncer_reserve_pool_timeout }}
149
150
; how many total connections to a single database to allow from all pools
151
+{% if pgbouncer_max_db_connections != -1 %}
152
max_db_connections = {{ pgbouncer_max_db_connections }}
153
+{% endif %}
154
+{% if pgbouncer_max_user_connections != -1 %}
155
max_user_connections = {{ pgbouncer_max_user_connections }}
156
157
158
; If off, then server connections are reused in LIFO manner
159
server_round_robin = {{ pgbouncer_server_round_robin }}
templates/pgbouncer.default.j2 renamed to templates/pgbouncer_default.j2
0 commit comments