diff options
author | Roger Dingledine <arma@torproject.org> | 2010-08-18 16:12:44 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-08-18 16:12:44 -0400 |
commit | c1260cb6ec7e7fb85bc7c3f318199bae12f1716e (patch) | |
tree | 06eedb509e0961c6d3aca5a81dbd0b827be4c053 /src/or | |
parent | e7956d4a73e9209ec10d57ea10be83428096c634 (diff) | |
download | tor-c1260cb6ec7e7fb85bc7c3f318199bae12f1716e.tar.gz tor-c1260cb6ec7e7fb85bc7c3f318199bae12f1716e.zip |
delay geoip stats even more for relays-turned-bridges
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/config.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c index d020c889c8..9d98d15450 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1255,8 +1255,9 @@ options_act(or_options_t *old_options) /* How long should we delay counting bridge stats after becoming a bridge? * We use this so we don't count people who used our bridge thinking it is * a relay. If you change this, don't forget to change the log message - * below. */ -#define RELAY_BRIDGE_STATS_DELAY (2 * 60 * 60) + * below. It's 4 hours (the time it takes to stop being used by clients) + * plus some extra time for clock skew. */ +#define RELAY_BRIDGE_STATS_DELAY (6 * 60 * 60) if (! bool_eq(options->BridgeRelay, old_options->BridgeRelay)) { int was_relay = 0; @@ -1268,7 +1269,7 @@ options_act(or_options_t *old_options) } geoip_bridge_stats_init(int_start); log_info(LD_CONFIG, "We are acting as a bridge now. Starting new " - "GeoIP stats interval%s.", was_relay ? " in 2 " + "GeoIP stats interval%s.", was_relay ? " in 6 " "hours from now" : ""); } else { geoip_bridge_stats_term(); |