##// END OF EJS Templates
celery: use celery 4 setting names in generated .ini files
Mads Kiilerich -
r8138:e1d4a0d8 default
parent child Browse files
Show More
@@ -253,18 +253,20 b' ssh_enabled = false'
253 ## Note: Celery doesn't support Windows.
253 ## Note: Celery doesn't support Windows.
254 use_celery = false
254 use_celery = false
255
255
256 ## Celery config settings from https://docs.celeryproject.org/en/4.4.0/userguide/configuration.html prefixed with 'celery.'.
257
256 ## Example: use the message queue on the local virtual host 'kallitheavhost' as the RabbitMQ user 'kallithea':
258 ## Example: use the message queue on the local virtual host 'kallitheavhost' as the RabbitMQ user 'kallithea':
257 broker.url = amqp://kallithea:thepassword@localhost:5672/kallitheavhost
259 celery.broker_url = amqp://kallithea:thepassword@localhost:5672/kallitheavhost
258
260
259 celery.result.backend = db+sqlite:///celery-results.db
261 celery.result.backend = db+sqlite:///celery-results.db
260
262
261 #celery.amqp.task.result.expires = 18000
263 #celery.amqp.task.result.expires = 18000
262
264
263 celeryd.concurrency = 2
265 celery.worker_concurrency = 2
264 celeryd.max.tasks.per.child = 1
266 celery.worker_max_tasks_per_child = 1
265
267
266 ## If true, tasks will never be sent to the queue, but executed locally instead.
268 ## If true, tasks will never be sent to the queue, but executed locally instead.
267 celery.always.eager = false
269 celery.task_always_eager = false
268
270
269 ####################################
271 ####################################
270 ### BEAKER CACHE ####
272 ### BEAKER CACHE ####
@@ -359,18 +359,20 b' ssh_locale = ${ssh_locale}'
359 <%text>## Note: Celery doesn't support Windows.</%text>
359 <%text>## Note: Celery doesn't support Windows.</%text>
360 use_celery = false
360 use_celery = false
361
361
362 <%text>## Celery config settings from https://docs.celeryproject.org/en/4.4.0/userguide/configuration.html prefixed with 'celery.'.</%text>
363
362 <%text>## Example: use the message queue on the local virtual host 'kallitheavhost' as the RabbitMQ user 'kallithea':</%text>
364 <%text>## Example: use the message queue on the local virtual host 'kallitheavhost' as the RabbitMQ user 'kallithea':</%text>
363 broker.url = amqp://kallithea:thepassword@localhost:5672/kallitheavhost
365 celery.broker_url = amqp://kallithea:thepassword@localhost:5672/kallitheavhost
364
366
365 celery.result.backend = db+sqlite:///celery-results.db
367 celery.result.backend = db+sqlite:///celery-results.db
366
368
367 #celery.amqp.task.result.expires = 18000
369 #celery.amqp.task.result.expires = 18000
368
370
369 celeryd.concurrency = 2
371 celery.worker_concurrency = 2
370 celeryd.max.tasks.per.child = 1
372 celery.worker_max_tasks_per_child = 1
371
373
372 <%text>## If true, tasks will never be sent to the queue, but executed locally instead.</%text>
374 <%text>## If true, tasks will never be sent to the queue, but executed locally instead.</%text>
373 celery.always.eager = false
375 celery.task_always_eager = false
374
376
375 <%text>####################################</%text>
377 <%text>####################################</%text>
376 <%text>### BEAKER CACHE ####</%text>
378 <%text>### BEAKER CACHE ####</%text>
General Comments 0
You need to be logged in to leave comments. Login now