• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

system/corennnnn


Commit MetaInfo

修訂e02d11efd4e9d97c7c015a0f66cb598a23dc14c3 (tree)
時間2016-11-09 00:56:26
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

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

差異

--- 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