[or-cvs] r12627: Authorities and caches fetch the v2 networkstatus documents (in tor/trunk: . src/or)

arma at seul.org arma at seul.org
Sat Dec 1 20:04:36 UTC 2007


Author: arma
Date: 2007-12-01 15:04:36 -0500 (Sat, 01 Dec 2007)
New Revision: 12627

Modified:
   tor/trunk/ChangeLog
   tor/trunk/src/or/networkstatus.c
Log:
Authorities and caches fetch the v2 networkstatus documents
less often, now that v3 is encouraged.


Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2007-12-01 20:02:05 UTC (rev 12626)
+++ tor/trunk/ChangeLog	2007-12-01 20:04:36 UTC (rev 12627)
@@ -21,7 +21,10 @@
     - 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

Modified: tor/trunk/src/or/networkstatus.c
===================================================================
--- tor/trunk/src/or/networkstatus.c	2007-12-01 20:02:05 UTC (rev 12626)
+++ tor/trunk/src/or/networkstatus.c	2007-12-01 20:04:36 UTC (rev 12627)
@@ -922,11 +922,11 @@
 
 /** 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,



More information about the tor-commits mailing list