Browse Source

bump up the magic number for how quickly we start notifying
a server that it's unreachable.


svn:r6234

Roger Dingledine 18 years ago
parent
commit
7edfec2ae6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/or/dirserv.c

+ 2 - 2
src/or/dirserv.c

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