[or-cvs] be more aggressive about building circuits when we have no

Roger Dingledine arma at seul.org
Wed Aug 18 20:34:45 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	circuituse.c 
Log Message:
be more aggressive about building circuits when we have no
open circuits


Index: circuituse.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuituse.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- circuituse.c	18 Aug 2004 08:51:04 -0000	1.10
+++ circuituse.c	18 Aug 2004 20:34:43 -0000	1.11
@@ -315,8 +315,8 @@
  * 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) {



More information about the tor-commits mailing list