mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
feat(tasks): Remove taskworker option override and add worker healthcheck (#3933)
feat(tasks) Remove taskworker option override and add worker healthcheck Along with getsentry/sentry#99374 and this change taskworkers will be enabled by default in self-hosted. I've left the celery workers active to smooth over any tasks that are in-flight during an upgrade. Add a worker healtcheck as we have one now. Refs STREAM-450
This commit is contained in:
parent
2e7a3ff7ad
commit
440b6585fd
@ -721,7 +721,9 @@ services:
|
||||
command: run taskworker-scheduler
|
||||
taskworker:
|
||||
<<: *sentry_defaults
|
||||
command: run taskworker --concurrency=4 --rpc-host=taskbroker:50051
|
||||
command: run taskworker --concurrency=4 --rpc-host=taskbroker:50051 --health-check-file-path=/tmp/health.txt
|
||||
healthcheck:
|
||||
<<: *file_healthcheck_defaults
|
||||
vroom:
|
||||
<<: *restart_policy
|
||||
image: "$VROOM_IMAGE"
|
||||
|
||||
@ -456,9 +456,3 @@ JS_SDK_LOADER_DEFAULT_SDK_URL = "https://browser.sentry-cdn.com/%s/bundle%s.min.
|
||||
# }
|
||||
# SENTRY_METRICS_SAMPLE_RATE = 1.0 # Adjust this to your needs, default is 1.0
|
||||
# SENTRY_METRICS_PREFIX = "sentry." # Adjust this to your needs, default is "sentry."
|
||||
|
||||
#########
|
||||
# Tasks #
|
||||
#########
|
||||
# Disable taskworker and continue using celery.
|
||||
SENTRY_OPTIONS["taskworker.enabled"] = False
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user