aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-12-07 16:42:42 +1100
committerteor <teor2345@gmail.com>2016-12-19 15:05:53 +1100
commit4c832bcfac3463f101d95b29f06e62eecaa64094 (patch)
tree1cda16f083d440bb3be8003d3e5875ccdd633ad9 /scripts/maint
parent124c342364a354608a6569fa79192c0f92a7f6f5 (diff)
downloadtor-4c832bcfac3463f101d95b29f06e62eecaa64094.tar.gz
tor-4c832bcfac3463f101d95b29f06e62eecaa64094.zip
Be more tolerant of a decreased number of fallbacks
Diffstat (limited to 'scripts/maint')
-rwxr-xr-xscripts/maint/updateFallbackDirs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py
index a7c86d09a9..eee93c40be 100755
--- a/scripts/maint/updateFallbackDirs.py
+++ b/scripts/maint/updateFallbackDirs.py
@@ -170,8 +170,8 @@ FALLBACK_PROPORTION_OF_GUARDS = None if OUTPUT_CANDIDATES else _FB_POG
# Limit the number of fallbacks (eliminating lowest by advertised bandwidth)
MAX_FALLBACK_COUNT = None if OUTPUT_CANDIDATES else 200
-# Emit a C #error if the number of fallbacks is more than 10% below MAX
-MIN_FALLBACK_COUNT = 0 if OUTPUT_CANDIDATES else MAX_FALLBACK_COUNT*0.9
+# Emit a C #error if the number of fallbacks is less than expected
+MIN_FALLBACK_COUNT = 0 if OUTPUT_CANDIDATES else MAX_FALLBACK_COUNT*0.75
# The maximum number of fallbacks on the same address, contact, or family
# With 200 fallbacks, this means each operator can see 1% of client bootstraps