Give more time to sync after restart

This commit is contained in:
Howard Chu 2009-07-02 00:31:48 +00:00
parent de91bde800
commit 460cb4bd4b

View File

@ -454,8 +454,8 @@ if test $WAIT != 0 ; then
fi
KILLPIDS="$MASTERPID $P1SLAVEPID $R1SLAVEPID"
echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
sleep $SLEEP1
echo "Waiting $SLEEP2 seconds for syncrepl to receive changes..."
sleep $SLEEP2
#echo "Using ldapsearch to read all the entries from the master..."
$LDAPSEARCH -S "" -b "$BASEDN" -h $LOCALHOST -p $PORT1 \