Merge pull request #3959 from adinhodovic/celery-send-task-events

feat(celery): Send task events for Celery by default
This commit is contained in:
Fábio C. Barrionuevo da Luz 2022-11-22 16:19:54 -03:00 committed by GitHub
commit bf43fae814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -299,6 +299,8 @@ CELERY_TASK_TIME_LIMIT = 5 * 60
CELERY_TASK_SOFT_TIME_LIMIT = 60
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#beat-scheduler
CELERY_BEAT_SCHEDULER = "django_celery_beat.schedulers:DatabaseScheduler"
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#worker-send-task-events
CELERY_WORKER_SEND_TASK_EVENTS = True
{%- endif %}
# django-allauth