[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Don't reduce the weight of exits selected as fallback directories
commit bc2bed89792ef6cabb42a88629615eac699d6cdf
Author: teor (Tim Wilson-Brown) <teor2345@xxxxxxxxx>
Date: Tue Jan 12 13:56:45 2016 +1100
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.
---
changes/bug17888 | 6 ++++++
scripts/maint/updateFallbackDirs.py | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/changes/bug17888 b/changes/bug17888
new file mode 100644
index 0000000..04e40b1
--- /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 8fe234f..53676c0 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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits