config: reduce max-task-per-child to 20

This commit is contained in:
RhodeCode Admin 2023-02-08 12:20:01 +01:00
parent a831986529
commit bc9d34cbec
5 changed files with 5 additions and 5 deletions

View file

@ -397,7 +397,7 @@ celery.broker_url = redis://localhost:6379/8
#celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
; maximum tasks to execute before worker restart
celery.max_tasks_per_child = 100
celery.max_tasks_per_child = 20
; tasks will never be sent to the queue, but executed locally instead.
celery.task_always_eager = false

View file

@ -348,7 +348,7 @@ celery.broker_url = redis://localhost:6379/8
#celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
; maximum tasks to execute before worker restart
celery.max_tasks_per_child = 100
celery.max_tasks_per_child = 20
; tasks will never be sent to the queue, but executed locally instead.
celery.task_always_eager = false