소스 검색

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


svn:r6234

Roger Dingledine 19 년 전
부모
커밋
7edfec2ae6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;
 }