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 |
|
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 |
celery |
|
265 | celery.worker_concurrency = 2 | |
264 |
celery |
|
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 |
|
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 |
|
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 |
celery |
|
371 | celery.worker_concurrency = 2 | |
370 |
celery |
|
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 |
|
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