cut back on pulsar retries

Change-Id: I4594d731e6ce4eb247d45485062a96392abd77f4
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/263695
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
This commit is contained in:
Ethan Vizitei 2021-04-26 15:56:10 -05:00
parent 7fc37eee8e
commit 7159efe38d
1 changed files with 2 additions and 2 deletions

View File

@ -25,9 +25,9 @@ function check_ready {
CHECK_COUNT=0
until check_ready; do
echo "Waiting for pulsar to be ready ... $CHECK_COUNT ... "
sleep 5
sleep 4
CHECK_COUNT=$((CHECK_COUNT+1))
if [ "$CHECK_COUNT" -gt "20" ]; then
if [ "$CHECK_COUNT" -gt "8" ]; then
echo ":cry: I don't think pulsar is ever going to be ready..."
exit 1
fi