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:
parent
5e2ec8956e
commit
b1ac153a3e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue