mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-19 19:14:44 +00:00
这是为了能以root身份运行celery[CI SKIP]
This commit is contained in:
parent
e4a5e4155b
commit
655b18421e
@ -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"])
|
||||
include=["judge.judger_controller.tasks"])
|
||||
|
||||
platforms.C_FORCE_ROOT =True
|
Loading…
x
Reference in New Issue
Block a user