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

Commit 57489b2e authored by Olivier Gaillard's avatar Olivier Gaillard Committed by Automerger Merge Worker
Browse files

Merge "For ANRs, reduce EXPIRED_REPORT_TIME_MS to 10s" into udc-dev am: c8d683a0 am: cd1cdd66

parents cb83f23e cd1cdd66
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -49,7 +49,7 @@ class AnrHelper {
     * this time, the information might be outdated. So we only the dump the unresponsive process
     * this time, the information might be outdated. So we only the dump the unresponsive process
     * instead of including other processes to avoid making the system more busy.
     * instead of including other processes to avoid making the system more busy.
     */
     */
    private static final long EXPIRED_REPORT_TIME_MS = TimeUnit.MINUTES.toMillis(1);
    private static final long EXPIRED_REPORT_TIME_MS = TimeUnit.SECONDS.toMillis(10);


    /**
    /**
     * If the last ANR occurred within this given time, consider it's anomaly.
     * If the last ANR occurred within this given time, consider it's anomaly.