python celery max-tasks-per-child-setting default

celery, celery-task, python

Solution

By default there is no limit

http://celery.readthedocs.org/en/latest/configuration.html#celeryd-max-tasks-per-child

You can check out all default config values from defaults.py

https://github.com/celery/celery/blob/master/celery/app/defaults.py

>>> from celery import conf
>>> conf.CELERYD_MAX_TASKS_PER_CHILD is None
True

Problem

I am using celery and i want to use the max-tasks-per-child-setting because some of the celery process get high memory usage. I am trying to find the default value for this setting before i change but i cant find that information. I looked here but i dont want to set it to `1` because i dont want it restarted every task.

Original source

Related problems