aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-03-05 14:25:38 -0500
committerNick Mathewson <nickm@torproject.org>2014-03-05 14:31:13 -0500
commit2c25bb413ec44257a8b8692958a348aaa6553c8c (patch)
tree163046b626f81c6d588a8e39ec3a967722c583f3
parent4f03804b080afd78d6242aece1e3aa3d62a00191 (diff)
downloadtor-2c25bb413ec44257a8b8692958a348aaa6553c8c.tar
tor-2c25bb413ec44257a8b8692958a348aaa6553c8c.tar.gz
Lower the maximum for PrecictedCircsRelevanceTime to one hour
-rw-r--r--doc/tor.1.txt6
-rw-r--r--src/or/config.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index d9ff4eed9..a285dfd5b 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -524,8 +524,10 @@ GENERAL OPTIONS
\'info'. (Default: 0)
**PredictedCircsRelevanceTime** __NUM__::
- Set how long, after having requested a connection to a given port, we will
- search for exits that support that port. (Default: 1 hour)
+ Set how long, after the client has mad an anonymized connection to a
+ given port, we will try to make sure that we build circuits to
+ exits that support that port. The maximum value for this option is 1
+ hour. (Default: 1 hour)
**RunAsDaemon** **0**|**1**::
If 1, Tor forks and daemonizes to the background. This option has no effect
diff --git a/src/or/config.c b/src/or/config.c
index db111b5e2..052971419 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2388,7 +2388,7 @@ compute_publishserverdescriptor(or_options_t *options)
/** Higest allowable value for PredictedCircsRelevanceTime; if this is
* too high, our selection of exits will decrease for an extended
* period of time to an uncomfortable level .*/
-#define MAX_PREDICTED_CIRCS_RELEVANCE (24*60*60)
+#define MAX_PREDICTED_CIRCS_RELEVANCE (60*60)
/** Highest allowable value for RendPostPeriod. */
#define MAX_DIR_PERIOD (MIN_ONION_KEY_LIFETIME/2)