diff --git a/judge/judger_controller/celery.py b/judge/judger_controller/celery.py index 51f923fe..4c64ab04 100644 --- a/judge/judger_controller/celery.py +++ b/judge/judger_controller/celery.py @@ -1,9 +1,9 @@ # coding=utf-8 from __future__ import absolute_import -from celery import Celery +from celery import Celery, platforms from .settings import redis_config app = Celery("judge", broker='redis://%s:%s/%s' % (redis_config["host"], redis_config["port"], redis_config["db"]), include=["judge.judger_controller.tasks"]) -platforms.C_FORCE_ROOT =True \ No newline at end of file +platforms.C_FORCE_ROOT =True