summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-06-18 04:34:52 +0000
committerNick Mathewson <nickm@torproject.org>2008-06-18 04:34:52 +0000
commited174245c6700bc09af6ece7df2be36b032e163a (patch)
tree72ee6e75a5df7265a637e161da36fefdf2c284cc /src/or/config.c
parent2e5e2f946a62f6e6ba8f788d3571ffd9b56e7e9f (diff)
downloadtor-ed174245c6700bc09af6ece7df2be36b032e163a.tar.gz
tor-ed174245c6700bc09af6ece7df2be36b032e163a.zip
implement more fine-tuning options for stats code
svn:r15345
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index d4006f0229..7373d1e8b9 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -183,6 +183,9 @@ static config_var_t _option_vars[] = {
OBSOLETE("DirPostPeriod"),
#ifdef ENABLE_GEOIP_STATS
V(DirRecordUsageByCountry, BOOL, "0"),
+ V(DirRecordUsageGranularity, UINT, "4"),
+ V(DirRecordUsageRetainIPs, INTERVAL, "14 days"),
+ V(DirRecordUsageSaveInterval, INTERVAL, "6 hours"),
#endif
VAR("DirServer", LINELIST, DirServers, NULL),
V(DNSPort, UINT, "0"),