##// END OF EJS Templates
config: reduce max-task-per-child to 20
super-admin -
r4890:2aee089b default
parent child Browse files
Show More
@@ -397,7 +397,7 b' celery.broker_url = redis://localhost:63'
397 #celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
397 #celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
398
398
399 ; maximum tasks to execute before worker restart
399 ; maximum tasks to execute before worker restart
400 celery.max_tasks_per_child = 100
400 celery.max_tasks_per_child = 20
401
401
402 ; tasks will never be sent to the queue, but executed locally instead.
402 ; tasks will never be sent to the queue, but executed locally instead.
403 celery.task_always_eager = false
403 celery.task_always_eager = false
@@ -348,7 +348,7 b' celery.broker_url = redis://localhost:63'
348 #celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
348 #celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
349
349
350 ; maximum tasks to execute before worker restart
350 ; maximum tasks to execute before worker restart
351 celery.max_tasks_per_child = 100
351 celery.max_tasks_per_child = 20
352
352
353 ; tasks will never be sent to the queue, but executed locally instead.
353 ; tasks will never be sent to the queue, but executed locally instead.
354 celery.task_always_eager = false
354 celery.task_always_eager = false
@@ -68,7 +68,7 b' 3. Configure Celery in the'
68 celery.broker_url = redis://localhost:6379/8
68 celery.broker_url = redis://localhost:6379/8
69
69
70 # maximum tasks to execute before worker restart
70 # maximum tasks to execute before worker restart
71 celery.max_tasks_per_child = 100
71 celery.max_tasks_per_child = 20
72
72
73 ## tasks will never be sent to the queue, but executed locally instead.
73 ## tasks will never be sent to the queue, but executed locally instead.
74 celery.task_always_eager = false
74 celery.task_always_eager = false
@@ -70,7 +70,7 b' base_celery_config = {'
70 'result_expires': 60 * 60 * 24,
70 'result_expires': 60 * 60 * 24,
71 'result_persistent': True,
71 'result_persistent': True,
72 'imports': imports,
72 'imports': imports,
73 'worker_max_tasks_per_child': 100,
73 'worker_max_tasks_per_child': 20,
74 'accept_content': ['json_ext', 'json'],
74 'accept_content': ['json_ext', 'json'],
75 'task_serializer': 'json_ext',
75 'task_serializer': 'json_ext',
76 'result_serializer': 'json_ext',
76 'result_serializer': 'json_ext',
@@ -314,7 +314,7 b' celery.broker_url = redis://localhost:63'
314 #celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
314 #celery.broker_url = amqp://rabbitmq:qweqwe@localhost:5672/rabbitmqhost
315
315
316 ; maximum tasks to execute before worker restart
316 ; maximum tasks to execute before worker restart
317 celery.max_tasks_per_child = 100
317 celery.max_tasks_per_child = 20
318
318
319 ; tasks will never be sent to the queue, but executed locally instead.
319 ; tasks will never be sent to the queue, but executed locally instead.
320 celery.task_always_eager = false
320 celery.task_always_eager = false
General Comments 0
You need to be logged in to leave comments. Login now