Merge "Change storage check timeout from 300ms to 5mins" into sc-dev

This commit is contained in:
Ricky Wai
2021-03-12 09:34:02 +00:00
committed by Android (Google) Code Review

View File

@@ -193,7 +193,7 @@ static constexpr unsigned int STORAGE_DIR_CHECK_MAX_INTERVAL_US = 1000;
* If it exceeds 2s, PROC_START_TIMEOUT_MSG will kill the starting app anyway,
* so it's fine to assume max retries is 5 mins.
*/
static constexpr int STORAGE_DIR_CHECK_TIMEOUT_US = 1000 * 60 * 5;
static constexpr int STORAGE_DIR_CHECK_TIMEOUT_US = 1000 * 1000 * 60 * 5;
/**
* A helper class containing accounting information for USAPs.