@@ -351,27 +351,27 @@ sentry.conf.py: |-
351
351
# This is needed to prevent https://git.io/fj7Lw
352
352
"uwsgi-socket": None,
353
353
# Keep this between 15s-75s as that's what Relay supports
354
- "http-keepalive": { { .Values.config.web.httpKeepalive } },
355
- "http-chunked-input": True,
354
+ "http-keepalive": { { .Values.config.web.httpKeepalive | int } },
355
+ "http-chunked-input": { { .Values.config.web.httpChunkedInput | ternary " True" " False " } } ,
356
356
# the number of web workers
357
- 'workers': 3 ,
357
+ 'workers': { { .Values.config.web.workers | int } } ,
358
358
# Turn off memory reporting
359
- "memory-report": False,
359
+ "memory-report": { { .Values.config.web.memoryReport | ternary " True " " False" } } ,
360
360
# Some stuff so uwsgi will cycle workers sensibly
361
- 'max-requests': { { .Values.config.web.maxRequests } },
362
- 'max-requests-delta': { { .Values.config.web.maxRequestsDelta } },
363
- 'max-worker-lifetime': { { .Values.config.web.maxWorkerLifetime } },
361
+ 'max-requests': { { .Values.config.web.maxRequests | int } },
362
+ 'max-requests-delta': { { .Values.config.web.maxRequestsDelta | int } },
363
+ 'max-worker-lifetime': { { .Values.config.web.maxWorkerLifetime | int } },
364
364
# Duplicate options from sentry default just so we don't get
365
365
# bit by sentry changing a default value that we depend on.
366
- 'thunder-lock': True,
367
- 'log-x-forwarded-for': False,
368
- 'buffer-size': 32768 ,
369
- 'limit-post': 209715200 ,
370
- 'disable-logging': True,
371
- 'reload-on-rss': 600 ,
372
- 'ignore-sigpipe': True,
373
- 'ignore-write-errors': True,
374
- 'disable-write-exception': True,
366
+ 'thunder-lock': { { .Values.config.web.thunderLock | ternary " True" " False " } } ,
367
+ 'log-x-forwarded-for': { { .Values.config.web.logXForwardedFor | ternary " True " " False" } } ,
368
+ 'buffer-size': { { .Values.config.web.bufferSize | int } } ,
369
+ 'limit-post': { { .Values.config.web.limitPost | int } } ,
370
+ 'disable-logging': { { .Values.config.web.disableLogging | ternary " True" " False " } } ,
371
+ 'reload-on-rss': { { .Values.config.web.reloadOnRss | int } } ,
372
+ 'ignore-sigpipe': { { .Values.config.web.ignoreSignpipe | ternary " True" " False " } } ,
373
+ 'ignore-write-errors': { { .Values.config.web.ignoreWriteErrors | ternary " True" " False " } } ,
374
+ 'disable-write-exception': { { .Values.config.web.disableWriteException | ternary " True" " False " } } ,
375
375
}
376
376
377
377
###########
0 commit comments