mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
bump up the magic number for how quickly we start notifying
a server that it's unreachable. svn:r6234
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user