[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.3.2] Merge branch 'teor_ticket24681_028' into maint-0.2.9



commit c52d4d9e3454fd0a94cb900dc18516a489441c18
Merge: c9b3f6352 94d5523c7
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Fri Jan 5 16:41:31 2018 -0500

    Merge branch 'teor_ticket24681_028' into maint-0.2.9

 changes/ticket24681 | 6 ++++++
 doc/tor.1.txt       | 3 ++-
 src/or/config.c     | 9 ++++++++-
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --cc src/or/config.c
index ddf49b037,dd0016f7a..42ff25877
--- a/src/or/config.c
+++ b/src/or/config.c
@@@ -226,10 -225,17 +226,17 @@@ 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"),
 -  V(DisableIOCP,                 BOOL,     "1"),
 +  OBSOLETE("DisableIOCP"),
    OBSOLETE("DisableV2DirectoryInfo_"),
    OBSOLETE("DynamicDHGroups"),
    VPORT(DNSPort,                     LINELIST, NULL),



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits