Browse Source

Authorities and caches fetch the v2 networkstatus documents
less often, now that v3 is encouraged.


svn:r12627

Roger Dingledine 16 years ago
parent
commit
77e607cc0d
2 changed files with 6 additions and 3 deletions
  1. 4 1
      ChangeLog
  2. 2 2
      src/or/networkstatus.c

+ 4 - 1
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

+ 2 - 2
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,