[tor-commits] [sbws/master] chg: globals: Increment size of bandwidth lines
juga at torproject.org
juga at torproject.org
Thu Mar 21 18:30:42 UTC 2019
commit 1a6674da78dc91994356a360fd7dccfd594af1e3
Author: juga0 <juga at riseup.net>
Date: Mon Feb 25 07:52:59 2019 +0000
chg: globals: Increment size of bandwidth lines
Part of #29591.
---
sbws/globals.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sbws/globals.py b/sbws/globals.py
index 3f128fb..abd4791 100644
--- a/sbws/globals.py
+++ b/sbws/globals.py
@@ -80,7 +80,9 @@ MIN_REPORT = 60
# in the bandwidth lines in percentage
MAX_BW_DIFF_PERC = 50
-BW_LINE_SIZE = 510
+# With the new KeyValues in #29591, the lines are greater than 510
+# Tor already accept lines of any size, but leaving the limit anyway.
+BW_LINE_SIZE = 1022
# Metadata to send in every requests, so that data servers can know which
# scanners are using them.
More information about the tor-commits
mailing list