Skip to content

Commit

Permalink
Merge pull request #1419 from GSA/adjust_celery
Browse files Browse the repository at this point in the history
adjust worker lifetime
  • Loading branch information
terrazoon authored Nov 15, 2024
2 parents 99a92e7 + 0ecd835 commit 7f9f205
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 7f9f205

Please sign in to comment.