Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/pgcat/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- name: PostgresML
email: team@postgresml.org
appVersion: "1.3.0"
version: 0.2.5
version: 0.2.6
1 change: 1 addition & 0 deletions charts/pgcat/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ stringData:
connect_timeout = {{ .Values.configuration.general.connect_timeout }}
idle_timeout = {{ .Values.configuration.general.idle_timeout | int }}
server_lifetime = {{ .Values.configuration.general.server_lifetime | int }}
server_round_robin = {{ .Values.configuration.general.server_round_robin }}
server_tls = {{ .Values.configuration.general.server_tls }}
idle_client_in_transaction_timeout = {{ .Values.configuration.general.idle_client_in_transaction_timeout | int }}
healthcheck_timeout = {{ .Values.configuration.general.healthcheck_timeout }}
Expand Down
9 changes: 9 additions & 0 deletions charts/pgcat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,15 @@ configuration:
# Max connection lifetime before it's closed, even if actively used.
server_lifetime: 86400000 # 24 hours

# Queue strategy for reusing idle server connections.
# false = LIFO (push_front on checkin): a small hot working set absorbs traffic
# while the cold tail ages out and is reaped by idle_timeout.
# true = FIFO / round-robin (push_back on checkin): every connection is rotated
# uniformly, so under sustained traffic no connection ever reaches idle_timeout
# and idle reaping never fires (pool stays pinned at pool_size).
# Set to false so idle_timeout-based reaping works under sustained load.
server_round_robin: false

# Whether to use TLS for server connections or not.
server_tls: false

Expand Down
Loading