[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] write down our "how to have two defaults for dirfetchperiod"



Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	config.c 
Log Message:
write down our "how to have two defaults for dirfetchperiod"
issue, so we don't forget about it.


Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.274
retrieving revision 1.275
diff -u -d -r1.274 -r1.275
--- config.c	30 Nov 2004 06:44:07 -0000	1.274
+++ config.c	30 Nov 2004 08:44:19 -0000	1.275
@@ -105,7 +105,9 @@
   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),