3
0
mirror of https://github.com/mastodon/chart synced 2025-03-14 21:11:50 +00:00

Use sidekiq concurrency field to set DB_POOL

This commit is contained in:
Matthew Abbott 2023-10-04 11:00:20 -05:00
parent 4f85998722
commit 0503d26250
No known key found for this signature in database

View File

@ -122,6 +122,8 @@ spec:
name: {{ $context.Values.mastodon.extraEnvFrom }}
{{- end}}
env:
- name: "DB_POOL"
value: {{ (max (int .concurrency) 1) | quote }}
- name: "DB_PASS"
valueFrom:
secretKeyRef: