Commit 65b575c0 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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
parent 15e5cf60
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.