瀏覽代碼

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

svn:r9259
Roger Dingledine 18 年之前
父節點
當前提交
88c3c84bda
共有 1 個文件被更改,包括 2 次插入2 次删除
  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;
 }