fix(worker): configure celery timezone (#2169)

This should not change behavior, as nothing relies on datetime. Though this should enforce current server timezone for any future tasks.
This commit is contained in:
Jonas L 2022-09-20 21:41:18 +02:00 committed by GitHub
parent 5e2ec8956e
commit b1ac153a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -29,5 +29,4 @@ CELERY_EVENT_QUEUE_EXPIRES = 900 # RabbitMQ x-expire after 15 minutes
CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_SERIALIZER = "json"
CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TIMEZONE = "UTC"
CELERY_ENABLE_UTC = True
CELERY_TIMEZONE = config.general.timezone