]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
download the (admittedly tiny) v1 dir blobs even less often.
authorRoger Dingledine <arma@torproject.org>
Sat, 1 Dec 2007 20:02:05 +0000 (20:02 +0000)
committerRoger Dingledine <arma@torproject.org>
Sat, 1 Dec 2007 20:02:05 +0000 (20:02 +0000)
we can't make them totally obsolete yet but we can get closer.

svn:r12626

src/or/main.c

index 7582192f5f9b1454d405507f6b694d529719d062..a89bfc5992e01d0f918f323cb0641fbaabd7eb28 100644 (file)
@@ -959,7 +959,7 @@ run_scheduled_events(time_t now)
                                      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 @@ run_scheduled_events(time_t now)
                                    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