summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-12 13:15:16 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-12 13:15:16 -0400
commitabb9a5bdda9bde028704c01c47191c64cfa088c8 (patch)
tree23bd8a5f3d682e02a2a0ac57ea82538d9f15cee2 /doc
parent5636b160d42e344f936f881992c19b3c27f60a2c (diff)
downloadtor-abb9a5bdda9bde028704c01c47191c64cfa088c8.tar.gz
tor-abb9a5bdda9bde028704c01c47191c64cfa088c8.zip
New configuration option MaxConsensusAgeForDiffs
Relay operators (especially bridge operators) can use this to lower or raise the number of consensuses that they're willing to hold for diff generation purposes. This enables a workaround for bug 22883.
Diffstat (limited to 'doc')
-rw-r--r--doc/tor.1.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 2459969f98..e17c111919 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -2072,6 +2072,16 @@ details.)
because clients connect via the ORPort by default. Setting either DirPort
or BridgeRelay and setting DirCache to 0 is not supported. (Default: 1)
+[[MaxConsensusAgeForDiffs]] **MaxConsensusAgeForDiffs** __N__ **minutes**|**hours**|**days**|**weeks**::
+ When this option is nonzero, Tor caches will not try to generate
+ consensus diffs for any consensus older than this amount of time.
+ If this option is set to zero, Tor will pick a reasonable default from
+ the current networkstatus document. You should not set this
+ option unless your cache is severely low on disk space or CPU.
+ If you need to set it, keeping it above 3 or 4 hours will help clients
+ much more than setting it to zero.
+ (Default: 0)
+
DIRECTORY AUTHORITY SERVER OPTIONS
----------------------------------