[deployment] change health check endpoint to 4000

pull/246/head
Paul Schoenfelder 7 years ago
parent e2f294aa8f
commit 2a4c945dce
  1. 2
      bin/deployment/health_check

@ -7,7 +7,7 @@ timeout 120s bash <<EOT
# Wait until an HTTP request succeeds against localhost:PORT # Wait until an HTTP request succeeds against localhost:PORT
function ping_server(){ function ping_server(){
while true; do while true; do
if curl -sSf "http://localhost:${PORT:-80}" >/dev/null; then if curl -sSf "http://localhost:4000" >/dev/null; then
exit 0 exit 0
fi fi
done done

Loading…
Cancel
Save