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

Commit 000c009b authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Reduce the coldboot timeout to 1s."

parents 2cc25440 c7331d02
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -618,7 +618,10 @@ static int wait_for_coldboot_done_action(int nargs, char **args) {
    Timer t;

    NOTICE("Waiting for %s...\n", COLDBOOT_DONE);
    if (wait_for_file(COLDBOOT_DONE, COMMAND_RETRY_TIMEOUT)) {
    // Any longer than 1s is an unreasonable length of time to delay booting.
    // If you're hitting this timeout, check that you didn't make your
    // sepolicy regular expressions too expensive (http://b/19899875).
    if (wait_for_file(COLDBOOT_DONE, 1)) {
        ERROR("Timed out waiting for %s\n", COLDBOOT_DONE);
    }