mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 18:22:09 +01:00
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
This commit is contained in:
parent
15e5cf6088
commit
65b575c03d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user