summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-03-17 11:16:24 -0400
committerNick Mathewson <nickm@torproject.org>2017-03-17 11:16:24 -0400
commit58680d04299ab69ea99ee86c5f1a194f44fc1d12 (patch)
tree814c4ebcbd458585695ec1d3e66c7c78a93e77ff /src/or/config.c
parent6657fe1e54743e90e33c453de154343fbf94bad4 (diff)
parent946ccf3e4de883b98aa62666b8a5bdc3eb535447 (diff)
downloadtor-58680d04299ab69ea99ee86c5f1a194f44fc1d12.tar.gz
tor-58680d04299ab69ea99ee86c5f1a194f44fc1d12.zip
Merge branch 'ahf_bugs_21641_squashed'
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 8277d0b337..7ae40053ee 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2815,7 +2815,7 @@ compute_publishserverdescriptor(or_options_t *options)
#define MAX_PREDICTED_CIRCS_RELEVANCE (60*60)
/** Highest allowable value for RendPostPeriod. */
-#define MAX_DIR_PERIOD (MIN_ONION_KEY_LIFETIME/2)
+#define MAX_DIR_PERIOD ((7*24*60*60)/2)
/** Lowest allowable value for MaxCircuitDirtiness; if this is too low, Tor
* will generate too many circuits and potentially overload the network. */