diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-07-15 16:32:40 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-07-15 16:32:40 +0200 |
commit | 8c496d1660c326c0bc2bd5c505255d5ec3b653ec (patch) | |
tree | 4cab68d08f3ae7f4b9dbc8c12be028b0139791a1 /src/or/router.c | |
parent | 416940d93bac49f78b57a2cf561bd324d75b391f (diff) | |
download | tor-8c496d1660c326c0bc2bd5c505255d5ec3b653ec.tar.gz tor-8c496d1660c326c0bc2bd5c505255d5ec3b653ec.zip |
Some tweaks to statistics.
Changes to directory request statistics:
- Rename GEOIP statistics to DIRREQ statistics, because they now include
more than only GeoIP-based statistics, whereas other statistics are
GeoIP-dependent, too.
- Rename output file from geoip-stats to dirreq-stats.
- Add new config option DirReqStatistics that is required to measure
directory request statistics.
- Clean up ChangeLog.
Also ensure that entry guards statistics have access to a local GeoIP
database.
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index bdea4fa764..42a0d56471 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1916,7 +1916,7 @@ extrainfo_get_client_geoip_summary(time_t now) { static time_t last_purged_at = 0; int geoip_purge_interval = 48*60*60; -#ifdef ENABLE_GEOIP_STATS +#ifdef ENABLE_DIRREQ_STATS geoip_purge_interval = DIR_RECORD_USAGE_RETAIN_IPS; #endif #ifdef ENABLE_ENTRY_STATS |