mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
resolve another edge case in staying dormant
svn:r13586
This commit is contained in:
parent
da7f0315e6
commit
23e4c849c9
1 changed files with 2 additions and 2 deletions
|
@ -1546,8 +1546,8 @@ rep_hist_circbuilding_dormant(time_t now)
|
|||
return 0;
|
||||
|
||||
/* see if we'll still need to build testing circuits */
|
||||
//XXX020 actually, is it orport_reachable or still-doing-bandwidth-tests?
|
||||
if (server_mode(get_options()) && !check_whether_orport_reachable())
|
||||
if (server_mode(get_options()) &&
|
||||
(!check_whether_orport_reachable() || !circuit_enough_testing_circs()))
|
||||
return 0;
|
||||
if (!check_whether_dirport_reachable())
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue