18 lines
396 B
Python
18 lines
396 B
Python
from orchestra.contrib.settings import Setting
|
|
|
|
|
|
TASKS_BACKEND = Setting('TASKS_BACKEND',
|
|
'thread',
|
|
choices=(
|
|
('thread', "threading.Thread (no queue)"),
|
|
('process', "multiprocess.Process (no queue)"),
|
|
('celery', "Celery (with queue)"),
|
|
)
|
|
)
|
|
|
|
|
|
TASKS_ENABLE_UWSGI_CRON_BEAT = Setting('TASKS_ENABLE_UWSGI_CRON_BEAT',
|
|
False,
|
|
help_text="Not implemented.",
|
|
)
|