[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Be more patient before giving up on in-progress circuits.
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
circuituse.c
Log Message:
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.
Index: circuituse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuituse.c,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -p -d -r1.117 -r1.118
--- circuituse.c 19 Mar 2006 01:21:58 -0000 1.117
+++ circuituse.c 21 Mar 2006 21:22:52 -0000 1.118
@@ -183,7 +183,7 @@ circuit_get_best(connection_t *conn, int
/** 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.