Skip to content

Commit

Permalink
increase timeout interval (#6219)
Browse files Browse the repository at this point in the history
  • Loading branch information
themiswang authored Aug 27, 2024
1 parent 079548f commit 9139781
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9139781

Please sign in to comment.