diff options
author | Roger Dingledine <arma@torproject.org> | 2006-03-24 20:57:55 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-03-24 20:57:55 +0000 |
commit | 7edfec2ae615777c05f6cfc0945771450ad47b0e (patch) | |
tree | 05e1c053c2a9b208f0049e5e19ddd342d07a3c5d /src/or/dirserv.c | |
parent | 6d9632ba236340ca94c40b03233268e70c005f35 (diff) | |
download | tor-7edfec2ae615777c05f6cfc0945771450ad47b0e.tar.gz tor-7edfec2ae615777c05f6cfc0945771450ad47b0e.zip |
bump up the magic number for how quickly we start notifying
a server that it's unreachable.
svn:r6234
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 86e3443fda..2c6a6ac1f5 100644 --- a/src/or/dirserv.c +++ b/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; } |