mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
be slightly less eager to yell at a server for being unreachable
svn:r9259
This commit is contained in:
parent
8518f535ff
commit
88c3c84bda
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user