Skip to content

Commit

Permalink
dialed back secondary since they are key eaters.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoggins committed Aug 23, 2023
1 parent 27f5f0d commit d77fb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/application/cli/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def determine_worker_processes(ratio,maximum):
sleep_time += 6

#20% of estimate, Maximum value of 25
secondary_num_processes = determine_worker_processes(.2, 50)
secondary_num_processes = determine_worker_processes(.2, 26)
logger.info(f"Starting secondary worker processes with concurrency={secondary_num_processes}")
secondary_worker = f"celery -A augur.tasks.init.celery_app.celery_app worker -l info --concurrency={secondary_num_processes} -n secondary:{uuid.uuid4().hex}@%h -Q secondary"
process_list.append(subprocess.Popen(secondary_worker.split(" ")))
Expand Down

0 comments on commit d77fb68

Please sign in to comment.