Skip to content

Commit a1b218f

Browse files
authored
feat: add parameters for web workers TTL (#1355)
1 parent 4010751 commit a1b218f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

charts/sentry/templates/_helper-sentry.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,9 @@ sentry.conf.py: |-
307307
# Turn off memory reporting
308308
"memory-report": False,
309309
# Some stuff so uwsgi will cycle workers sensibly
310-
'max-requests': 100000,
311-
'max-requests-delta': 500,
312-
'max-worker-lifetime': 86400,
310+
'max-requests': {{ .Values.config.web.maxRequests }},
311+
'max-requests-delta': {{ .Values.config.web.maxRequestsDelta }},
312+
'max-worker-lifetime': {{ .Values.config.web.maxWorkerLifetime }},
313313
# Duplicate options from sentry default just so we don't get
314314
# bit by sentry changing a default value that we depend on.
315315
'thunder-lock': True,

charts/sentry/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,6 +1721,9 @@ config:
17211721
# No YAML relay config given
17221722
web:
17231723
httpKeepalive: 15
1724+
maxRequests: 100000
1725+
maxRequestsDelta: 500
1726+
maxWorkerLifetime: 86400
17241727

17251728
clickhouse:
17261729
enabled: true

0 commit comments

Comments
 (0)