fix: celery任务时间字段差8小时问题

This commit is contained in:
halo 2022-11-17 13:29:12 +08:00 committed by Jiangjie.Bai
parent 949166eaed
commit 90c48d303e

View File

@ -144,6 +144,8 @@ else:
'port': CONFIG.REDIS_PORT,
'db': CONFIG.REDIS_DB_CELERY,
}
CELERY_TIMEZONE = CONFIG.TIME_ZONE
CELERY_ENABLE_UTC = False
CELERY_TASK_SERIALIZER = 'pickle'
CELERY_RESULT_SERIALIZER = 'pickle'
CELERY_RESULT_BACKEND = CELERY_BROKER_URL