Skip to content
Snippets Groups Projects
Commit bd798764 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

circmgr: limit circuit attempts when launch_parallelism > 1.

Previously, if we had launch_parallelism > 1, and we were willing to
retry building a circuit max_retries times, then we'd launch up to
max_retries * launch_parallelism circuits before giving up.  Ouch!

With this patch, we try to keep the total number of circuits
planned and attempted to the actual max_retries limit.

Part of #329; found with arti-testing.
parent 6e8c982a
No related branches found
No related tags found
1 merge request!439Minor retry tuning to improve behavior under failing conditions.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment