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

svn:r9259
This commit is contained in:
Roger Dingledine 2007-01-03 23:58:03 +00:00
parent 8518f535ff
commit 88c3c84bda

View File

@ -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;
}