Browse Source

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

pull/9089/head
halo 2 years ago committed by Jiangjie.Bai
parent
commit
90c48d303e
  1. 2
      apps/jumpserver/settings/libs.py

2
apps/jumpserver/settings/libs.py

@ -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

Loading…
Cancel
Save