Commit 409486df authored by lixiaofang's avatar lixiaofang

add

parent 085a4503
......@@ -32,7 +32,7 @@ class Celery(Celery):
# app = Celery('physical_tasks')
app = Celery('physical')
app = Celery('physical_tasks')
# Using a string here means the worker will not have to
# pickle the object when using Windows.
......
......@@ -6,7 +6,7 @@ from django.conf import settings
# set the default Django settings module for the 'celery' program.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'physical.settings')
app = Celery('physical',backend='redis',broker="redis://localhost")
app = Celery('physical')
# Using a string here means the worker doesn't have to serialize
# the configuration object to child processes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment