1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Suggestion of Tim. Avoid unnecessary sleep.

This commit is contained in:
cmiller@zippy.cornsilk.net
2008-03-19 18:36:41 -04:00
parent 955983a154
commit 897f772c14

View File

@ -155,7 +155,6 @@ wait_for_pid () {
i=0
avoid_race_condition="by checking again"
while test $i -ne $service_startup_timeout ; do
sleep 1
case "$verb" in
'created')
@ -191,6 +190,7 @@ wait_for_pid () {
echo $echo_n ".$echo_c"
i=`expr $i + 1`
sleep 1
done
if test -z "$i" ; then