[or-cvs] bump up the magic number for how quickly we start notifying
arma at seul.org
arma at seul.org
Fri Mar 24 20:57:57 UTC 2006
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
dirserv.c
Log Message:
bump up the magic number for how quickly we start notifying
a server that it's unreachable.
Index: dirserv.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.314
retrieving revision 1.315
diff -u -p -d -r1.314 -r1.315
--- dirserv.c 22 Mar 2006 21:32:42 -0000 1.314
+++ dirserv.c 24 Mar 2006 20:57:55 -0000 1.315
@@ -720,9 +720,9 @@ dirserv_thinks_router_is_blatantly_unrea
{
if (router->is_hibernating)
return 0;
- if (now >= router->last_reachable + 2*REACHABLE_TIMEOUT &&
+ if (now >= router->last_reachable + 4*REACHABLE_TIMEOUT &&
router->testing_since &&
- now >= router->testing_since + 2*REACHABLE_TIMEOUT)
+ now >= router->testing_since + 4*REACHABLE_TIMEOUT)
return 1;
return 0;
}
More information about the tor-commits
mailing list