update CELERYD_HIJACK_ROOT_LOGGER to CELERY_WORKER_HIJACK_ROOT_LOGGER

CELERYD_HIJACK_ROOT_LOGGER was the name of the setting in celery v3
This commit is contained in:
ghazi-git 2025-01-15 20:05:27 +01:00 committed by GitHub
parent fbf6c886cb
commit adc2b6a01d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -327,8 +327,8 @@ CELERY_BEAT_SCHEDULER = "django_celery_beat.schedulers:DatabaseScheduler"
CELERY_WORKER_SEND_TASK_EVENTS = True
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#std-setting-task_send_sent_event
CELERY_TASK_SEND_SENT_EVENT = True
# https://cheat.readthedocs.io/en/latest/django/celery.html
CELERYD_HIJACK_ROOT_LOGGER = False
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#worker-hijack-root-logger
CELERY_WORKER_HIJACK_ROOT_LOGGER = False
{%- endif %}
# django-allauth