django-orchestra/orchestra/contrib/tasks/settings.py
2015-05-03 17:44:46 +00:00

12 lines
268 B
Python

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)"),
)
)