diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-30 08:44:19 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-30 08:44:19 +0000 |
commit | 19ada3f7facbfc37e777f25753195c19d57fc3d9 (patch) | |
tree | 147a420aca7de1751b197f5ceab14ec91b091d84 | |
parent | 1d4af1930c8f45e638d26efa6dc089c74e10f4f6 (diff) | |
download | tor-19ada3f7facbfc37e777f25753195c19d57fc3d9.tar.gz tor-19ada3f7facbfc37e777f25753195c19d57fc3d9.zip |
write down our "how to have two defaults for dirfetchperiod"
issue, so we don't forget about it.
svn:r3040
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 1ec14e18c6..7385e6ca68 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -105,7 +105,9 @@ static config_var_t config_vars[] = { VAR("DataDirectory", STRING, DataDirectory, NULL), VAR("DirPort", UINT, DirPort, "0"), VAR("DirBindAddress", LINELIST, DirBindAddress, NULL), - VAR("DirFetchPeriod", INTERVAL, DirFetchPeriod, "1 hours"), +/* XXX we'd like dirfetchperiod to be higher for people with dirport not + * set, but low for people with dirport set. how to have two defaults? */ + VAR("DirFetchPeriod", INTERVAL, DirFetchPeriod, "1 hour"), VAR("DirPostPeriod", INTERVAL, DirPostPeriod, "20 minutes"), VAR("RendPostPeriod", INTERVAL, RendPostPeriod, "20 minutes"), VAR("DirPolicy", LINELIST, DirPolicy, NULL), |