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