Skip to content

Commit

Permalink
test transaction pooling
Browse files Browse the repository at this point in the history
  • Loading branch information
kaplan-michael committed May 20, 2024
1 parent 536c012 commit 9997814
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions deploy/helm/charts/kissj/templates/pgbouncer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ spec:
value: "5432"
# pg bouncer config
- name: PGBOUNCER_MAX_CLIENT_CONN
value: "10000"
value: "2500"

- name: PGBOUNCER_MAX_DB_CONNECTIONS
value: "5000"
value: "100"

- name: PGBOUNCER_IGNORE_STARTUP_PARAMETERS
value: "extra_float_digits"
Expand All @@ -62,9 +62,13 @@ spec:
value: "prefer"

- name: PGBOUNCER_POOL_MODE
value: "session"
value: "transaction"

- name: PGBOUNCER_DEFAULT_POOL_SIZE
value: "50"
value: "290"

- name: PGBOUNCER_MIN_POOL_SIZE
value: "10"
resources:
requests:
memory: "500Mi"
Expand Down

0 comments on commit 9997814

Please sign in to comment.