[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] lower threshold for showing bandwidth to 0 as smaller bw events were being missed



commit 8e5dd0ff976712c7612681d1f7f3408559717f3c
Author: n8fr8 <nathan@xxxxxxxxxxxxxxxxxxxx>
Date:   Wed Dec 22 10:03:07 2021 -0500

    lower threshold for showing bandwidth to 0 as smaller bw events were being missed
    - data display looked like it was often inactive
---
 .../src/main/java/org/torproject/android/service/TorEventHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orbotservice/src/main/java/org/torproject/android/service/TorEventHandler.java b/orbotservice/src/main/java/org/torproject/android/service/TorEventHandler.java
index 0b49b461..9cc48499 100644
--- a/orbotservice/src/main/java/org/torproject/android/service/TorEventHandler.java
+++ b/orbotservice/src/main/java/org/torproject/android/service/TorEventHandler.java
@@ -16,7 +16,7 @@ import java.util.StringTokenizer;
  */
 public class TorEventHandler implements EventHandler, TorServiceConstants {
 
-    private final static int BW_THRESDHOLD = 10000;
+    private final static int BW_THRESDHOLD = 0;
     private final OrbotService mService;
     private long lastRead = -1;
     private long lastWritten = -1;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits