Explorar el Código

Be more patient before giving up on in-progress circuits.
I have absolutely no idea if this change helps or hurts.
Somebody should study this.


svn:r6212

Roger Dingledine hace 19 años
padre
commit
65b575c03d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/or/circuituse.c

+ 1 - 1
src/or/circuituse.c

@@ -183,7 +183,7 @@ circuit_get_best(connection_t *conn, int must_be_open, uint8_t purpose,
 /** If we find a circuit that isn't open yet and was born this many
  * seconds ago, then assume something went wrong, and cull it.
  */
-#define MIN_SECONDS_BEFORE_EXPIRING_CIRC 30
+#define MIN_SECONDS_BEFORE_EXPIRING_CIRC 60
 
 /** Close all circuits that start at us, aren't open, and were born
  * at least MIN_SECONDS_BEFORE_EXPIRING_CIRC seconds ago.