diff options
author | Roger Dingledine <arma@torproject.org> | 2007-12-01 20:04:36 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-12-01 20:04:36 +0000 |
commit | 77e607cc0d99bb06fadc96d127681473f9d1b2eb (patch) | |
tree | 540821830664fd0a767a1f977f7fbcd6fa3e2f65 | |
parent | c26c54836f623ab87e2c721183d6c2a99f8dee82 (diff) | |
download | tor-77e607cc0d99bb06fadc96d127681473f9d1b2eb.tar tor-77e607cc0d99bb06fadc96d127681473f9d1b2eb.tar.gz |
Authorities and caches fetch the v2 networkstatus documents
less often, now that v3 is encouraged.
svn:r12627
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/or/networkstatus.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -21,7 +21,10 @@ Changes in version 0.2.0.13-alpha - 2007-11-?? - Fix building with dmalloc 5.5.2 with glibc. o Minor features: - - On USR1, when dmalloc is in use, log the top 10 memory consumers. + - On USR1, when dmalloc is in use, log the top 10 memory + consumers. (We already do this on HUP.) + - Authorities and caches fetch the v2 networkstatus documents + less often, now that v3 is encouraged. Changes in version 0.2.0.12-alpha - 2007-11-16 diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 46b8e43dd..6472576f5 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -922,11 +922,11 @@ networkstatus_nickname_is_unnamed(const char *nickname) /** How frequently do directory authorities re-download fresh networkstatus * documents? */ -#define AUTHORITY_NS_CACHE_INTERVAL (5*60) +#define AUTHORITY_NS_CACHE_INTERVAL (10*60) /** How frequently do non-authority directory caches re-download fresh * networkstatus documents? */ -#define NONAUTHORITY_NS_CACHE_INTERVAL (15*60) +#define NONAUTHORITY_NS_CACHE_INTERVAL (60*60) /** We are a directory server, and so cache network_status documents. * Initiate downloads as needed to update them. For v2 authorities, |