Merge "set default shutdown timeout to 6 secs" am: 47d15ed5b9
am: 0020d4c076
Change-Id: I1c0b4552ebc5e52475b4bd98e82a837137be7f6b
This commit is contained in:
commit
09c780db3a
1 changed files with 1 additions and 2 deletions
|
|
@ -318,8 +318,7 @@ void DoReboot(unsigned int cmd, const std::string& reason, const std::string& re
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO update default waiting time based on usage data */
|
constexpr unsigned int shutdownTimeoutDefault = 6;
|
||||||
constexpr unsigned int shutdownTimeoutDefault = 10;
|
|
||||||
unsigned int shutdownTimeout = shutdownTimeoutDefault;
|
unsigned int shutdownTimeout = shutdownTimeoutDefault;
|
||||||
if (SHUTDOWN_ZERO_TIMEOUT) { // eng build
|
if (SHUTDOWN_ZERO_TIMEOUT) { // eng build
|
||||||
shutdownTimeout = 0;
|
shutdownTimeout = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue