Change storage check timeout from 300ms to 5mins

Bug: 177248242
Test: Able to boot device without any warnings or errors
Change-Id: I16f6a4225cd772c462ae379d06fda4e9c687fa8c
Merged-In: I16f6a4225cd772c462ae379d06fda4e9c687fa8c
(cherry picked from commit 99f380447f)
This commit is contained in:
Ricky Wai
2021-03-09 17:09:04 +00:00
parent 9b316222ff
commit 5eb14cc3ff

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.