mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-21 13:03:09 -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 }}
|
{{- if not $componentSpecificDatabaseConfig }}
|
||||||
database:
|
database:
|
||||||
connection_string: {{ .Values.database.connection_string }}
|
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 }}
|
max_idle_conns: {{ default 5 .Values.database.max_idle_conns }}
|
||||||
conn_max_lifetime: {{default -1 .Values.database.conn_max_lifetime }}
|
conn_max_lifetime: {{default -1 .Values.database.conn_max_lifetime }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ persistence:
|
||||||
# @default -- see values.yaml
|
# @default -- see values.yaml
|
||||||
database:
|
database:
|
||||||
connection_string: file:dendrite?sslmode=disable
|
connection_string: file:dendrite?sslmode=disable
|
||||||
max_open_conns: 100
|
max_open_conns: 90
|
||||||
max_idle_conns: 2
|
max_idle_conns: 2
|
||||||
conn_max_lifetime: -1
|
conn_max_lifetime: -1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue