diff options
author | Roger Dingledine <arma@torproject.org> | 2007-12-01 20:02:05 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-12-01 20:02:05 +0000 |
commit | c26c54836f623ab87e2c721183d6c2a99f8dee82 (patch) | |
tree | 7835b5ee82327632b9a79132f07270d3146cbb24 /src | |
parent | 4a6d969139df04d2c5ee82c485fff88b9e990967 (diff) | |
download | tor-c26c54836f623ab87e2c721183d6c2a99f8dee82.tar.gz tor-c26c54836f623ab87e2c721183d6c2a99f8dee82.zip |
download the (admittedly tiny) v1 dir blobs even less often.
we can't make them totally obsolete yet but we can get closer.
svn:r12626
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index 7582192f5f..a89bfc5992 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -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 |