mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-04 03:22:06 +00:00
漏了一个import[CI SKIP]
This commit is contained in:
parent
668f0d53c2
commit
eb376c49fc
@ -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
|
||||
platforms.C_FORCE_ROOT =True
|
||||
|
Loading…
Reference in New Issue
Block a user