Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6534e5d authored by Chiachang Wang's avatar Chiachang Wang
Browse files

Increase tcp polling interval on data stall detection

NetworkMonitor suspects stall if we get high tcp fail rate in
10s. In a cell transition frequently environment, a certain
percentage packets lost or retransmission may stay for a longer
time interval. The shorter tcp polling interval may not able to
get confident enough result. The looser timer may also
increase validated result in the metrics which may not a good
signal. Thus, increase the polling interval to address it.

Bug: 157957111
Test: atest NetworkStackTests
Change-Id: I496a32da8f57f88908402722ebe1cd3d0a8483b6
parent 88ab8e2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ public class DataStallUtils {
    /**
     * Default polling interval to observe the tcp health.
     */
    public static int DEFAULT_TCP_POLLING_INTERVAL_MS = 10_000;
    public static int DEFAULT_TCP_POLLING_INTERVAL_MS = 20_000;

    /**
     * Default tcp packets fail rate to suspect as a data stall.