diff options
author | teor <teor2345@gmail.com> | 2016-09-22 10:10:31 +1000 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2016-12-19 15:05:02 +1100 |
commit | 31e14396424b62efba5bd2f04e45dab6d834c2e6 (patch) | |
tree | 3f0ea146856d502be1751f8eb461cf61f69d9e1d /scripts | |
parent | 4eba30ca59a8c6fed7ddd4135d9788082b11d3c2 (diff) | |
download | tor-31e14396424b62efba5bd2f04e45dab6d834c2e6.tar.gz tor-31e14396424b62efba5bd2f04e45dab6d834c2e6.zip |
Select 200 fallback directories by default for each release
Closes ticket #20881.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/updateFallbackDirs.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py index e28185f0dd..a3d0259661 100755 --- a/scripts/maint/updateFallbackDirs.py +++ b/scripts/maint/updateFallbackDirs.py @@ -155,12 +155,10 @@ ONIONOO_SCALE_ONE = 999. _FB_POG = 0.2 FALLBACK_PROPORTION_OF_GUARDS = None if OUTPUT_CANDIDATES else _FB_POG -# We want exactly 100 fallbacks for the initial release -# This gives us scope to add extra fallbacks to the list as needed # Limit the number of fallbacks (eliminating lowest by advertised bandwidth) -MAX_FALLBACK_COUNT = None if OUTPUT_CANDIDATES else 100 -# Emit a C #error if the number of fallbacks is below -MIN_FALLBACK_COUNT = 100 +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 ## Fallback Bandwidth Requirements |