diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -266,9 +266,6 @@ celery.result_backend = db+sqlite:///cel celery.worker_concurrency = 2 celery.worker_max_tasks_per_child = 100 -## If true, tasks will never be sent to the queue, but executed locally instead. -celery.task_always_eager = false - #################################### ## BEAKER CACHE ## #################################### diff --git a/kallithea/lib/celery_app.py b/kallithea/lib/celery_app.py --- a/kallithea/lib/celery_app.py +++ b/kallithea/lib/celery_app.py @@ -39,6 +39,7 @@ desupported = set([ 'celery.result.serialier', 'celery.result.serializer', 'celery.send.task.error.emails', + 'celery.task_always_eager', # still a valid configuration in celery, but not supported in Kallithea 'celery.task.serializer', ]) diff --git a/kallithea/templates/ini/template.ini.mako b/kallithea/templates/ini/template.ini.mako --- a/kallithea/templates/ini/template.ini.mako +++ b/kallithea/templates/ini/template.ini.mako @@ -341,9 +341,6 @@ celery.result_backend = db+sqlite:///cel celery.worker_concurrency = 2 celery.worker_max_tasks_per_child = 100 -<%text>## If true, tasks will never be sent to the queue, but executed locally instead. -celery.task_always_eager = false - <%text>#################################### <%text>## BEAKER CACHE ## <%text>####################################