• 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/corennnnn


Commit MetaInfo

Révisiondeabeeeab0f7a5f5e42bc778850d2f33cea17ab9 (tree)
l'heure2016-08-26 02:39:44
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
@@ -163,10 +163,10 @@ static int wait_for_coldboot_done_action(const std::vector<std::string>& args) {
163163 Timer t;
164164
165165 NOTICE("Waiting for %s...\n", COLDBOOT_DONE);
166- // Any longer than 1s is an unreasonable length of time to delay booting.
166+ // Any longer than 10s is an unreasonable length of time to delay booting.
167167 // If you're hitting this timeout, check that you didn't make your
168168 // sepolicy regular expressions too expensive (http://b/19899875).
169- if (wait_for_file(COLDBOOT_DONE, 1)) {
169+ if (wait_for_file(COLDBOOT_DONE, 10)) {
170170 ERROR("Timed out waiting for %s\n", COLDBOOT_DONE);
171171 }
172172