• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

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

system/corennnnn


Commit MetaInfo

修订版2769b0178a118b334a54afe90f3a81e4f616a889 (tree)
时间2016-12-09 16:22:10
作者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.

更改概述

差异

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