Pārlūkot izejas kodu

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 19 gadi atpakaļ
vecāks
revīzija
65b575c03d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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.