mirror of
https://github.com/mastodon/chart
synced 2025-03-15 13:31:51 +00:00
Use sidekiq concurrency field to set DB_POOL
This commit is contained in:
parent
4f85998722
commit
0503d26250
|
@ -122,6 +122,8 @@ spec:
|
||||||
name: {{ $context.Values.mastodon.extraEnvFrom }}
|
name: {{ $context.Values.mastodon.extraEnvFrom }}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
env:
|
env:
|
||||||
|
- name: "DB_POOL"
|
||||||
|
value: {{ (max (int .concurrency) 1) | quote }}
|
||||||
- name: "DB_PASS"
|
- name: "DB_PASS"
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user