• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/core


Commit MetaInfo

Révisionacb9fc8a65362c31915cbeaf860a1a9548dd1b02 (tree)
l'heure2016-08-14 12:23:20
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

init: enlarge the time to wait coldboot done

We need more time to probe and load all modules.
If 10s is still not enough for you, let me know.

Change Summary

Modification

--- a/init/init.cpp
+++ b/init/init.cpp
@@ -630,10 +630,10 @@ static int wait_for_coldboot_done_action(int nargs, char **args) {
630630 Timer t;
631631
632632 NOTICE("Waiting for %s...\n", COLDBOOT_DONE);
633- // Any longer than 1s is an unreasonable length of time to delay booting.
633+ // Any longer than 10s is an unreasonable length of time to delay booting.
634634 // If you're hitting this timeout, check that you didn't make your
635635 // sepolicy regular expressions too expensive (http://b/19899875).
636- if (wait_for_file(COLDBOOT_DONE, 1)) {
636+ if (wait_for_file(COLDBOOT_DONE, 10)) {
637637 ERROR("Timed out waiting for %s\n", COLDBOOT_DONE);
638638 }
639639