Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase timeout interval #6219

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading