Skip to content

Commit

Permalink
Merge pull request #1410 from GSA/kill_workers
Browse files Browse the repository at this point in the history
kill workers after 20 tasks
  • Loading branch information
ccostino authored Nov 14, 2024
2 parents 0485297 + bb435e3 commit 99a92e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ class Config(object):
current_minute = (datetime.now().minute + 1) % 60

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

0 comments on commit 99a92e7

Please sign in to comment.