be more aggressive about building circuits when we have no

open circuits


svn:r2290
This commit is contained in:
Roger Dingledine 2004-08-18 20:34:43 +00:00
parent 7304ac1d6f
commit 9504db8ce8

View File

@ -315,8 +315,8 @@ void circuit_build_needed_circs(time_t now) {
* want to be building at once, if there are no open general-purpose
* circuits?
*/
#define CIRCUIT_MIN_BUILDING_GENERAL 3
/* if there's no open circ, and less than 3 are on the way,
#define CIRCUIT_MIN_BUILDING_GENERAL 5
/* if there's no open circ, and less than 5 are on the way,
* go ahead and try another. */
if(!circ && circuit_count_building(CIRCUIT_PURPOSE_C_GENERAL)
< CIRCUIT_MIN_BUILDING_GENERAL) {