Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47d15ed5 authored by Keun-young Park's avatar Keun-young Park Committed by Gerrit Code Review
Browse files

Merge "set default shutdown timeout to 6 secs"

parents 84d43c8d 7feab682
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -318,8 +318,7 @@ void DoReboot(unsigned int cmd, const std::string& reason, const std::string& re
        abort();
    }

    /* TODO update default waiting time based on usage data */
    constexpr unsigned int shutdownTimeoutDefault = 10;
    constexpr unsigned int shutdownTimeoutDefault = 6;
    unsigned int shutdownTimeout = shutdownTimeoutDefault;
    if (SHUTDOWN_ZERO_TIMEOUT) {  // eng build
        shutdownTimeout = 0;