dumpstate timeout rollback to 30sec

We have only 30sec budget to finish dunmpstate HAL so rollback to
30sec and then find a way to improve it whatever.

Bug: 168344541
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I7b9fb03ca4c0cc7500285ad751fd31ed8d67a696
This commit is contained in:
Minchan Kim
2020-09-21 14:58:35 -07:00
parent bdc7de8f6c
commit dfd62773b7

View File

@@ -579,7 +579,7 @@ static void DumpUFS(int fd) {
// Methods from ::android::hardware::dumpstate::V1_0::IDumpstateDevice follow.
Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
// Ignore return value, just return an empty status.
dumpstateBoard_1_1(handle, DumpstateMode::DEFAULT, 60 * 1000 /* timeoutMillis */);
dumpstateBoard_1_1(handle, DumpstateMode::DEFAULT, 30 * 1000 /* timeoutMillis */);
return Void();
}