summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-05 16:41:31 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-05 16:41:31 -0500
commitc52d4d9e3454fd0a94cb900dc18516a489441c18 (patch)
treede8d95595795438e9dc34ff526227a9032b1cb9e /src/or/config.c
parentc9b3f6352f68a03b5380db0e459a8cd6407c5603 (diff)
parent94d5523c7f100a2fc94869c55af6ec8e3429df2a (diff)
downloadtor-c52d4d9e3454fd0a94cb900dc18516a489441c18.tar.gz
tor-c52d4d9e3454fd0a94cb900dc18516a489441c18.zip
Merge branch 'teor_ticket24681_028' into maint-0.2.9
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index ddf49b037e..42ff25877e 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -226,7 +226,14 @@ static config_var_t option_vars_[] = {
VAR("DirReqStatistics", BOOL, DirReqStatistics_option, "1"),
VAR("DirAuthority", LINELIST, DirAuthorities, NULL),
V(DirCache, BOOL, "1"),
- V(DirAuthorityFallbackRate, DOUBLE, "1.0"),
+ /* A DirAuthorityFallbackRate of 0.1 means that 0.5% of clients try an
+ * authority when all fallbacks are up, and 2% try an authority when 25% of
+ * fallbacks are down. (We rebuild the list when 25% of fallbacks are down).
+ *
+ * We want to reduce load on authorities, but keep these two figures within
+ * an order of magnitude, so there isn't too much load shifting to
+ * authorities when fallbacks go down. */
+ V(DirAuthorityFallbackRate, DOUBLE, "0.1"),
V(DisableAllSwap, BOOL, "0"),
V(DisableDebuggerAttachment, BOOL, "1"),
OBSOLETE("DisableIOCP"),