mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
ITS#7317 use SLEEP0 instead of 1 second sleep
This commit is contained in:
parent
a3a2b53c5d
commit
5ff873d575
@ -46,6 +46,7 @@ WITH_SASL=${AC_WITH_SASL-no}
|
|||||||
USE_SASL=${SLAPD_USE_SASL-no}
|
USE_SASL=${SLAPD_USE_SASL-no}
|
||||||
ACI=${AC_ACI_ENABLED-acino}
|
ACI=${AC_ACI_ENABLED-acino}
|
||||||
THREADS=${AC_THREADS-threadsno}
|
THREADS=${AC_THREADS-threadsno}
|
||||||
|
SLEEP0=${SLEEP0-1}
|
||||||
SLEEP1=${SLEEP1-7}
|
SLEEP1=${SLEEP1-7}
|
||||||
SLEEP2=${SLEEP2-15}
|
SLEEP2=${SLEEP2-15}
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ EOF
|
|||||||
|
|
||||||
# refint runs in a background thread, so it most likely won't complete
|
# refint runs in a background thread, so it most likely won't complete
|
||||||
# before the modify returns. Give it some time to execute.
|
# before the modify returns. Give it some time to execute.
|
||||||
sleep 1
|
sleep $SLEEP0
|
||||||
|
|
||||||
echo "Re-search the entire database..."
|
echo "Re-search the entire database..."
|
||||||
echo "# Re-search the entire database..." >> $SEARCHOUT
|
echo "# Re-search the entire database..." >> $SEARCHOUT
|
||||||
@ -225,7 +225,7 @@ deleteoldrdn:1
|
|||||||
newsuperior: $BASEDN
|
newsuperior: $BASEDN
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sleep 1
|
sleep $SLEEP0
|
||||||
|
|
||||||
echo "Re-search the entire database..."
|
echo "Re-search the entire database..."
|
||||||
echo "# Re-search the entire database..." >> $SEARCHOUT
|
echo "# Re-search the entire database..." >> $SEARCHOUT
|
||||||
@ -246,7 +246,7 @@ dn: cn=Baby Herman,ou=Toons,$BASEDN
|
|||||||
changetype: delete
|
changetype: delete
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sleep 1
|
sleep $SLEEP0
|
||||||
|
|
||||||
echo "Re-search the entire database..."
|
echo "Re-search the entire database..."
|
||||||
echo "# Re-search the entire database..." >> $SEARCHOUT
|
echo "# Re-search the entire database..." >> $SEARCHOUT
|
||||||
|
Loading…
Reference in New Issue
Block a user