diff options
author | Roger Dingledine <arma@torproject.org> | 2007-01-03 23:58:03 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-01-03 23:58:03 +0000 |
commit | 88c3c84bda837c97c793c931558c3c8f48f731bb (patch) | |
tree | d826040893d7365285c220c964e41156af3d90ff /src | |
parent | 8518f535ff717d989b19b07ace80cbc3c218fef0 (diff) | |
download | tor-88c3c84bda837c97c793c931558c3c8f48f731bb.tar.gz tor-88c3c84bda837c97c793c931558c3c8f48f731bb.zip |
be slightly less eager to yell at a server for being unreachable
svn:r9259
Diffstat (limited to 'src')
-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 12efc03ff4..6e32806f5e 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -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; } |