[or-cvs] r9259: be slightly less eager to yell at a server for being unreach (tor/trunk/src/or)

arma at seul.org arma at seul.org
Wed Jan 3 23:58:04 UTC 2007


Author: arma
Date: 2007-01-03 18:58:03 -0500 (Wed, 03 Jan 2007)
New Revision: 9259

Modified:
   tor/trunk/src/or/dirserv.c
Log:
be slightly less eager to yell at a server for being unreachable


Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c	2007-01-03 23:57:51 UTC (rev 9258)
+++ tor/trunk/src/or/dirserv.c	2007-01-03 23:58:03 UTC (rev 9259)
@@ -736,9 +736,9 @@
 {
   if (router->is_hibernating)
     return 0;
-  if (now >= router->last_reachable + 4*REACHABLE_TIMEOUT &&
+  if (now >= router->last_reachable + 5*REACHABLE_TIMEOUT &&
       router->testing_since &&
-      now >= router->testing_since + 4*REACHABLE_TIMEOUT)
+      now >= router->testing_since + 5*REACHABLE_TIMEOUT)
     return 1;
   return 0;
 }



More information about the tor-commits mailing list