Explorar o código

be slightly less eager to yell at a server for being unreachable

svn:r9259
Roger Dingledine %!s(int64=19) %!d(string=hai) anos
pai
achega
88c3c84bda
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/or/dirserv.c

+ 2 - 2
src/or/dirserv.c

@@ -736,9 +736,9 @@ dirserv_thinks_router_is_blatantly_unreachable(routerinfo_t *router,
 {
   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;
 }