[or-cvs] r12626: download the (admittedly tiny) v1 dir blobs even less often. (tor/trunk/src/or)

arma at seul.org arma at seul.org
Sat Dec 1 20:02:05 UTC 2007


Author: arma
Date: 2007-12-01 15:02:05 -0500 (Sat, 01 Dec 2007)
New Revision: 12626

Modified:
   tor/trunk/src/or/main.c
Log:
download the (admittedly tiny) v1 dir blobs even less often.
we can't make them totally obsolete yet but we can get closer.


Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2007-12-01 10:22:22 UTC (rev 12625)
+++ tor/trunk/src/or/main.c	2007-12-01 20:02:05 UTC (rev 12626)
@@ -959,7 +959,7 @@
                                      ROUTER_PURPOSE_GENERAL, NULL, 1);
     }
 /** How often do we (as a cache) fetch a new V1 directory? */
-#define V1_DIR_FETCH_PERIOD (6*60*60)
+#define V1_DIR_FETCH_PERIOD (12*60*60)
     time_to_fetch_directory = now + V1_DIR_FETCH_PERIOD;
   }
 
@@ -971,7 +971,7 @@
                                    ROUTER_PURPOSE_GENERAL, NULL, 1);
     }
 /** How often do we (as a cache) fetch a new V1 runningrouters document? */
-#define V1_RUNNINGROUTERS_FETCH_PERIOD (6*60*60)
+#define V1_RUNNINGROUTERS_FETCH_PERIOD (12*60*60)
     time_to_fetch_running_routers = now + V1_RUNNINGROUTERS_FETCH_PERIOD;
 
      /* Also, take this chance to remove old information from rephist



More information about the tor-commits mailing list