]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
be more aggressive about building circuits when we have no
authorRoger Dingledine <arma@torproject.org>
Wed, 18 Aug 2004 20:34:43 +0000 (20:34 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 18 Aug 2004 20:34:43 +0000 (20:34 +0000)
open circuits

svn:r2290

src/or/circuituse.c

index 717f327b83a2c01a08aa01701b40c16f8319b385..9173bc09a00295893228900ef228516a9ef96661 100644 (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) {