[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] chg: globals: Increment size of bandwidth lines
commit 1a6674da78dc91994356a360fd7dccfd594af1e3
Author: juga0 <juga@xxxxxxxxxx>
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.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits