summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-05 16:41:35 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-05 16:41:35 -0500
commit0b6fe3c1230a7d135a6a5541b2abb8f6641cc48e (patch)
tree8e21f6a0f3c9c9105b1673cabd8de95184253c51 /src/or/config.c
parent2d92f4c19a151157b81091d352d59e4f72810542 (diff)
parent3618bd6166002c7aadbb832d8a3e8bdba193f00c (diff)
downloadtor-0b6fe3c1230a7d135a6a5541b2abb8f6641cc48e.tar.gz
tor-0b6fe3c1230a7d135a6a5541b2abb8f6641cc48e.zip
Merge branch 'maint-0.3.2'
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 3ae3af55a3..4b0a59fdf7 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -301,7 +301,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"),