summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-21 21:22:52 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-21 21:22:52 +0000
commit65b575c03dd07f3682145a958eaf9b0e43509411 (patch)
tree44bf98d8c4edc66920274ffdd8da3c34c5f1deac
parent15e5cf60882f7e9112394b0a3003f4aa9eb31024 (diff)
downloadtor-65b575c03dd07f3682145a958eaf9b0e43509411.tar.gz
tor-65b575c03dd07f3682145a958eaf9b0e43509411.zip
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
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 25ab8101c4..87d3f3c055 100644
--- a/src/or/circuituse.c
+++ b/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.