OnlineJudge/judge/controller/celery.py
2015-08-10 16:59:43 +08:00

5 lines
173 B
Python

# coding=utf-8
from __future__ import absolute_import
from celery import Celery
app = Celery("judge", broker="redis://localhost:6379/0", include=["judge.controller.tasks"])