summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-01-12 13:56:45 +1100
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-01-12 13:56:45 +1100
commitbc2bed89792ef6cabb42a88629615eac699d6cdf (patch)
tree0155e3c193d048aba7db374cbb0a429332d00b4d
parent16840e52e594e221069efc9bf7b65ebfb5e2d639 (diff)
downloadtor-bc2bed89792ef6cabb42a88629615eac699d6cdf.tar.gz
tor-bc2bed89792ef6cabb42a88629615eac699d6cdf.zip
Don't reduce the weight of exits selected as fallback directories
When selecting exits as fallback directories, don't reduce their weights. Closes ticket #17888.
-rw-r--r--changes/bug178886
-rwxr-xr-xscripts/maint/updateFallbackDirs.py2
2 files changed, 7 insertions, 1 deletions
diff --git a/changes/bug17888 b/changes/bug17888
new file mode 100644
index 0000000000..04e40b1556
--- /dev/null
+++ b/changes/bug17888
@@ -0,0 +1,6 @@
+ o Minor fixes (fallback directories):
+ - When selecting exits as fallback directories, don't reduce
+ their weights. (Several operators report having exits with
+ spare capacity.)
+ Closes ticket #17888. Patch by "teor". Not in any released
+ version of tor.
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py
index 8fe234f206..53676c08fa 100755
--- a/scripts/maint/updateFallbackDirs.py
+++ b/scripts/maint/updateFallbackDirs.py
@@ -98,7 +98,7 @@ MIN_FALLBACK_COUNT = 100
## Fallback Weight Settings
# Any fallback with the Exit flag has its weight multipled by this fraction
-EXIT_WEIGHT_FRACTION = 0.2
+EXIT_WEIGHT_FRACTION = 1.0
# If True, emit a C #error if we can't satisfy various constraints
# If False, emit a C comment instead