django-orchestra/orchestra/contrib/tasks/settings.py

12 lines
268 B
Python
Raw Normal View History

2015-05-03 17:44:46 +00:00
from orchestra.settings import Setting
TASKS_BACKEND = Setting('TASKS_BACKEND',
'thread',
choices=(
('thread', "threading.Thread (no queue)"),
('process', "multiprocess.Process (no queue)"),
('celery', "Celery (with queue)"),
)
)