mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-17 11:03:11 -06:00
chore(helm-chart): reduce default number of database connections (as in v0.10.2)
This commit is contained in:
parent
dab53196aa
commit
347fc8f6a6
|
|
@ -54,7 +54,7 @@ stringData:
|
|||
{{- if not $componentSpecificDatabaseConfig }}
|
||||
database:
|
||||
connection_string: {{ .Values.database.connection_string }}
|
||||
max_open_conns: {{ default 100 .Values.database.max_open_conns }}
|
||||
max_open_conns: {{ default 90 .Values.database.max_open_conns }}
|
||||
max_idle_conns: {{ default 5 .Values.database.max_idle_conns }}
|
||||
conn_max_lifetime: {{default -1 .Values.database.conn_max_lifetime }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ persistence:
|
|||
# @default -- see values.yaml
|
||||
database:
|
||||
connection_string: file:dendrite?sslmode=disable
|
||||
max_open_conns: 100
|
||||
max_open_conns: 90
|
||||
max_idle_conns: 2
|
||||
conn_max_lifetime: -1
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue