diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-05-27 17:52:46 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-05-27 19:13:31 +0200 |
commit | 54c97c9133ebbeea6aed9b4526b19fbc0d88377b (patch) | |
tree | 4357577684ab5acc0928b543ef88b002d325a9c3 /src/or/config.c | |
parent | bf7e5d6553acd8d8ce37e80586083620d66d0160 (diff) | |
download | tor-54c97c9133ebbeea6aed9b4526b19fbc0d88377b.tar.gz tor-54c97c9133ebbeea6aed9b4526b19fbc0d88377b.zip |
Change the way how directories that are configured with --enable-geoip-stats write geoip stats to disk.
- Write geoip stats to disk every 24 hours, not every hour.
- Remove configuration options and define reasonable defaults.
- Clear history of client requests every 24 hours (which wasn't done at
all before).
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c index 0dd0931ece..e462b3e76a 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -187,10 +187,10 @@ static config_var_t _option_vars[] = { V(DirPortFrontPage, FILENAME, NULL), OBSOLETE("DirPostPeriod"), #ifdef ENABLE_GEOIP_STATS - V(DirRecordUsageByCountry, BOOL, "0"), - V(DirRecordUsageGranularity, UINT, "4"), - V(DirRecordUsageRetainIPs, INTERVAL, "14 days"), - V(DirRecordUsageSaveInterval, INTERVAL, "6 hours"), + OBSOLETE("DirRecordUsageByCountry"), + OBSOLETE("DirRecordUsageGranularity"), + OBSOLETE("DirRecordUsageRetainIPs"), + OBSOLETE("DirRecordUsageSaveInterval"), #endif VAR("DirServer", LINELIST, DirServers, NULL), V(DNSPort, UINT, "0"), |