Skip to content

Commit

Permalink
adjust worker lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Kehl committed Nov 15, 2024
1 parent 99a92e7 commit 0ecd835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class Config(object):
current_minute = (datetime.now().minute + 1) % 60

CELERY = {
"worker_max_tasks_per_child": 20,
"worker_max_tasks_per_child": 200,
"broker_url": REDIS_URL,
"broker_transport_options": {
"visibility_timeout": 310,
Expand Down

0 comments on commit 0ecd835

Please sign in to comment.