diff options
author | Roger Dingledine <arma@torproject.org> | 2006-01-10 07:21:01 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-01-10 07:21:01 +0000 |
commit | c8e6003412300a235ae51d959d8a9bea63724a90 (patch) | |
tree | b83a0fdb682a19a03337ee28826b68d1d1e92c03 /src/or/dirserv.c | |
parent | 43a4f8c7f301a9e83214b9cbff856b378edfe66b (diff) | |
download | tor-c8e6003412300a235ae51d959d8a9bea63724a90.tar.gz tor-c8e6003412300a235ae51d959d8a9bea63724a90.zip |
balance the reachability testing so a smidgen of it happens
every 10 seconds. this way we don't try to do 500 tls's at
once every 20 minutes.
svn:r5763
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 95cb6ae019..097dad7e7d 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -686,8 +686,8 @@ list_single_server_status(routerinfo_t *desc, int is_live) return tor_strdup(buf); } -#define REACHABLE_TIMEOUT (60*60) /* an hour */ -/* Make sure this is 3 times the value of get_dir_fetch_period() */ +#define REACHABLE_TIMEOUT (90*60) /* ninety minutes */ +/* Make sure this is at least 3 times the value of get_dir_fetch_period() */ /** Treat a router as alive if * - It's me, and I'm not hibernating. |