提交 487b9455 编写于 作者: R Richard Mortimer 提交者: Kohsuke Kawaguchi

[FIXED JENKINS-11744] Debian/Ubuntu init script does not wait long enough during stop operation

Increase stop timeout from 5 to 20 seconds.
上级 a1714c16
......@@ -76,6 +76,9 @@ Upcoming changes</a>
<li class=bug>
Fixed a bug in Windows registry enumeration with large data.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-11767">issue 11767</a>)
<li class=bug>
Debian/Ubuntu init script does not wait long enough during stop operation
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-11744">issue 11744</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -147,7 +147,7 @@ do_stop()
0)
$DAEMON $DAEMON_ARGS --stop || return 2
# wait for the process to really terminate
for n in 1 2 3 4 5; do
for n in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
sleep 1
$DAEMON $DAEMON_ARGS --running || break
done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册