mirror of
https://github.com/mastodon/chart
synced 2025-05-18 13:03:21 +00:00
Add the PREPARED_STATEMENTS environment variable and set it to its default value
Being able to control it can be useful in situations where prepared statements don't work as expected. Once such case can be pgbouncer as provided by DigitalOcean for connection pooling.
This commit is contained in:
parent
8b8b7d0f11
commit
7a643b6eb2
|
@ -15,6 +15,7 @@ data:
|
|||
DB_NAME: {{ .Values.postgresql.auth.database }}
|
||||
DB_POOL: {{ include "mastodon.maxDbPool" . }}
|
||||
DB_USER: {{ .Values.postgresql.auth.username }}
|
||||
PREPARED_STATEMENTS: {{ .Values.mastodon.preparedStatements | quote }}
|
||||
DEFAULT_LOCALE: {{ .Values.mastodon.locale }}
|
||||
{{- if .Values.elasticsearch.enabled }}
|
||||
ES_ENABLED: "true"
|
||||
|
|
|
@ -202,6 +202,9 @@ mastodon:
|
|||
# -- Enable statsd publishing via STATSD_ADDR environment variable
|
||||
address: ""
|
||||
|
||||
# Sets the PREPARED_STATEMENTS environment variable: https://docs.joinmastodon.org/admin/config/#prepared_statements
|
||||
preparedStatements: true
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
|
|
Loading…
Reference in New Issue
Block a user