Commit 8e93cd75 by Alex Dusenbery

Allow specification of max tasks per child via os env.

parent bb2c9565
......@@ -194,7 +194,7 @@ CELERYD_PREFETCH_MULTIPLIER = 1
# Maximum number of tasks a pool worker process can execute
# before it's replaced with a new one.
CELERYD_MAX_TASKS_PER_CHILD = 100
CELERYD_MAX_TASKS_PER_CHILD = int(os.getenv('CELERYD_MAX_TASKS_PER_CHILD', 100))
LANGUAGE_CODE = os.getenv('NOTIFIER_LANGUAGE', 'en')
LANGUAGES = (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment