Skip to content

Commit

Permalink
Squash #2041 - Should we see echo statements if Healthcheck OK
Browse files Browse the repository at this point in the history
  • Loading branch information
MackHalliday committed Nov 21, 2024
1 parent 1e3e3ae commit a228a63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/check_celery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ function ensure_celery_is_running {
echo "There are no celery processes running, this container is bad"
exit 1
fi

echo "HERES AN ECHO STATEMENT - IN A FUNCTION"
for APP_PID in ${APP_PIDS}; do
kill -0 ${APP_PID} 2&>/dev/null || return 1
done
}

get_celery_pids

ensure_celery_is_running
ensure_celery_is_running

echo "HERE AN ECHO STATEMENT"

0 comments on commit a228a63

Please sign in to comment.