Mercurial > kallithea
comparison development.ini @ 8820:0270c714fa17
celery: drop traces of support for task_always_eager
It was broken - retrieval of results didn't work.
Also, task_always_eager still require a working celery.broker_url even though
it is unused. It is thus much better to just set use_celery=false .
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 26 Dec 2020 20:21:24 +0100 |
parents | d2d787d881db |
children | 116151b6bfb2 |
comparison
equal
deleted
inserted
replaced
8819:43ad0cec9037 | 8820:0270c714fa17 |
---|---|
264 #celery.amqp.task.result.expires = 18000 | 264 #celery.amqp.task.result.expires = 18000 |
265 | 265 |
266 celery.worker_concurrency = 2 | 266 celery.worker_concurrency = 2 |
267 celery.worker_max_tasks_per_child = 100 | 267 celery.worker_max_tasks_per_child = 100 |
268 | 268 |
269 ## If true, tasks will never be sent to the queue, but executed locally instead. | |
270 celery.task_always_eager = false | |
271 | |
272 #################################### | 269 #################################### |
273 ## BEAKER CACHE ## | 270 ## BEAKER CACHE ## |
274 #################################### | 271 #################################### |
275 | 272 |
276 beaker.cache.data_dir = %(here)s/data/cache/data | 273 beaker.cache.data_dir = %(here)s/data/cache/data |