diff options
| author | 2022-10-03 13:41:13 +0000 | |
|---|---|---|
| committer | 2022-10-03 13:41:13 +0000 | |
| commit | e4b61e15d4e881ebe5ceb3186ffa28477cefd66f (patch) | |
| tree | 15a83ee5a544266d612be5a270d8d7c749483f2b /cmds/dumpstate/dumpstate.cpp | |
| parent | 57d52f22f399fe64fef8dd7213918277dff03b51 (diff) | |
| parent | 2fb3dd6f5b3e9aa2d3544fd1e4818a75b65b0481 (diff) | |
Merge "Reduce timeout for DUMP NETSTATS PROTO"
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
| -rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index fe913411fa..60c207775a 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1052,7 +1052,7 @@ static void DumpNetstatsProto() { return; } RunCommandToFd(fd, "", {"dumpsys", "netstats", "--proto"}, - CommandOptions::WithTimeout(120).Build()); + CommandOptions::WithTimeout(5).Build()); bool empty = 0 == lseek(fd, 0, SEEK_END); if (!empty) { ds.EnqueueAddZipEntryAndCleanupIfNeeded(kProtoPath + "netstats" + kProtoExt, |