mirror of
https://github.com/getsentry/self-hosted.git
synced 2026-02-06 10:57:17 +00:00
Allow configuring Sentry taskworker concurrency via env (#4149)
* Allow configuring Sentry taskworker concurrency via env * Update comment for SENTRY_TASKWORKER_CONCURRENCY ENV
This commit is contained in:
parent
940074a527
commit
16982c307f
2
.env
2
.env
@ -9,6 +9,8 @@ SENTRY_EVENT_RETENTION_DAYS=90
|
|||||||
SENTRY_BIND=9000
|
SENTRY_BIND=9000
|
||||||
# Set SENTRY_MAIL_HOST to a valid FQDN (host/domain name) to be able to send emails!
|
# Set SENTRY_MAIL_HOST to a valid FQDN (host/domain name) to be able to send emails!
|
||||||
# SENTRY_MAIL_HOST=example.com
|
# SENTRY_MAIL_HOST=example.com
|
||||||
|
# Parallel taskworker processes (higher values increase memory usage; >32 not recommended)
|
||||||
|
SENTRY_TASKWORKER_CONCURRENCY=4
|
||||||
SENTRY_IMAGE=ghcr.io/getsentry/sentry:nightly
|
SENTRY_IMAGE=ghcr.io/getsentry/sentry:nightly
|
||||||
SNUBA_IMAGE=ghcr.io/getsentry/snuba:nightly
|
SNUBA_IMAGE=ghcr.io/getsentry/snuba:nightly
|
||||||
RELAY_IMAGE=ghcr.io/getsentry/relay:nightly
|
RELAY_IMAGE=ghcr.io/getsentry/relay:nightly
|
||||||
|
|||||||
@ -745,7 +745,7 @@ services:
|
|||||||
command: run taskworker-scheduler
|
command: run taskworker-scheduler
|
||||||
taskworker:
|
taskworker:
|
||||||
<<: *sentry_defaults
|
<<: *sentry_defaults
|
||||||
command: run taskworker --concurrency=4 --rpc-host=taskbroker:50051 --health-check-file-path=/tmp/health.txt
|
command: run taskworker --concurrency=$SENTRY_TASKWORKER_CONCURRENCY --rpc-host=taskbroker:50051 --health-check-file-path=/tmp/health.txt
|
||||||
healthcheck:
|
healthcheck:
|
||||||
<<: *file_healthcheck_defaults
|
<<: *file_healthcheck_defaults
|
||||||
vroom:
|
vroom:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user