summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-18 20:34:43 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-18 20:34:43 +0000
commit9504db8ce8ff297929cd743acbe5a4f26df8bbd3 (patch)
tree3b71523a81518ea70cc258aff9f69b7c3b111e0d
parent7304ac1d6f9191e01bef9d3ab5b08520ba71ec11 (diff)
downloadtor-9504db8ce8ff297929cd743acbe5a4f26df8bbd3.tar.gz
tor-9504db8ce8ff297929cd743acbe5a4f26df8bbd3.zip
be more aggressive about building circuits when we have no
open circuits svn:r2290
-rw-r--r--src/or/circuituse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 717f327b83..9173bc09a0 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -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) {