bump up the magic number for how quickly we start notifying

a server that it's unreachable.


svn:r6234
This commit is contained in:
Roger Dingledine
2006-03-24 20:57:55 +00:00
parent 6d9632ba23
commit 7edfec2ae6
+2 -2
View File
@@ -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;
}