From 66d1ad48117055700694391efc5adb767dfd7b09 Mon Sep 17 00:00:00 2001 From: Themis wang Date: Tue, 27 Aug 2024 13:32:27 -0400 Subject: [PATCH] increase timeout interval --- .../google/firebase/crashlytics/internal/common/Utils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/common/Utils.java b/firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/common/Utils.java index da14b1060c6..c4ca0c90274 100644 --- a/firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/common/Utils.java +++ b/firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/common/Utils.java @@ -27,10 +27,10 @@ @SuppressWarnings({"ResultOfMethodCallIgnored", "UnusedReturnValue"}) public final class Utils { /** Timeout in milliseconds for blocking on background threads. */ - private static final int BACKGROUND_TIMEOUT_MILLIS = 3_000; + private static final int BACKGROUND_TIMEOUT_MILLIS = 4_000; /** Timeout in milliseconds for blocking on the main thread. Be careful about ANRs. */ - private static final int MAIN_TIMEOUT_MILLIS = 2_000; + private static final int MAIN_TIMEOUT_MILLIS = 3_000; /** * Blocks until the given Task completes, and then returns the value the Task was resolved with,