From 804339a59e4abcbcf5a50a60ff0543e6b404e572 Mon Sep 17 00:00:00 2001 From: Sharvil Nanavati Date: Fri, 27 Nov 2015 21:04:11 -0800 Subject: [PATCH] Increase raft timeout to 10min so we get complete logs from older devices. Devices like dory get slammed when bugreports are taken and can't compress all the raft logs in the current 5min timeout. Our dogfooders spend their precious time getting us bugreports and then we can't act on them because we have broken raft logs. :( This change bumps up the timeout in the hopes that we can get complete logs from even our slowest devices. Change-Id: I10741a6185b39544f4c0531f0ee74864d74a1aa4 --- cmds/dumpstate/dumpstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index 713634c4d..b88b60551 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -351,7 +351,7 @@ static void dumpstate() { run_command("LOG STATISTICS", 10, "logcat", "-b", "all", "-S", NULL); - run_command("RAFT LOGS", 300, SU_PATH, "root", "logcompressor", "-r", RAFT_DIR, NULL); + run_command("RAFT LOGS", 600, SU_PATH, "root", "logcompressor", "-r", RAFT_DIR, NULL); /* show the traces we collected in main(), if that was done */ if (dump_traces_path != NULL) {