更改项目结构
This commit is contained in:
5
judger_controller/celery.py
Normal file
5
judger_controller/celery.py
Normal file
@@ -0,0 +1,5 @@
|
||||
# coding=utf-8
|
||||
from __future__ import absolute_import
|
||||
from celery import Celery
|
||||
|
||||
app = Celery("judge", broker="redis://localhost:6379/0", include=["judger_controller.tasks"])
|
||||
Reference in New Issue
Block a user