diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-07-12 13:15:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-12 13:15:16 -0400 |
commit | abb9a5bdda9bde028704c01c47191c64cfa088c8 (patch) | |
tree | 23bd8a5f3d682e02a2a0ac57ea82538d9f15cee2 /src/or/config.c | |
parent | 5636b160d42e344f936f881992c19b3c27f60a2c (diff) | |
download | tor-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 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 7d2ebbdd03..a0ff0e871a 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -393,6 +393,7 @@ static config_var_t option_vars_[] = { V(MaxAdvertisedBandwidth, MEMUNIT, "1 GB"), V(MaxCircuitDirtiness, INTERVAL, "10 minutes"), V(MaxClientCircuitsPending, UINT, "32"), + V(MaxConsensusAgeForDiffs, INTERVAL, "0 seconds"), VAR("MaxMemInQueues", MEMUNIT, MaxMemInQueues_raw, "0"), OBSOLETE("MaxOnionsPending"), V(MaxOnionQueueDelay, MSEC_INTERVAL, "1750 msec"), |