From 655b18421edd304c2c8c5a47f998356e80d8c3d6 Mon Sep 17 00:00:00 2001 From: esp Date: Wed, 2 Sep 2015 22:26:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=99=E6=98=AF=E4=B8=BA=E4=BA=86=E8=83=BD?= =?UTF-8?q?=E4=BB=A5root=E8=BA=AB=E4=BB=BD=E8=BF=90=E8=A1=8Ccelery[CI=20SK?= =?UTF-8?q?IP]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- judge/judger_controller/celery.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/judge/judger_controller/celery.py b/judge/judger_controller/celery.py index 18cf8867..51f923fe 100644 --- a/judge/judger_controller/celery.py +++ b/judge/judger_controller/celery.py @@ -4,4 +4,6 @@ from celery import Celery 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"]) \ No newline at end of file + include=["judge.judger_controller.tasks"]) + +platforms.C_FORCE_ROOT =True \ No newline at end of file