aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-01 20:04:36 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-01 20:04:36 +0000
commit77e607cc0d99bb06fadc96d127681473f9d1b2eb (patch)
tree540821830664fd0a767a1f977f7fbcd6fa3e2f65
parentc26c54836f623ab87e2c721183d6c2a99f8dee82 (diff)
downloadtor-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--ChangeLog5
-rw-r--r--src/or/networkstatus.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3239e7ba9..33ca1ecc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,