Skip to content

Commit

Permalink
Using correct health url on older instances
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbyt3r committed Aug 13, 2023
1 parent fecd4fb commit fda8e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -e
CMD="${1:-$(cat /proc/1/cmdline | strings -1 | tail -1)}"

if [ "$CMD" = 'uber' ]; then
curl --fail http://$HOST:$PORT/uber/devtools/health
curl --fail http://$HOST:$PORT/uber/
elif [ "$CMD" = 'celery-beat' ]; then
# Beat seems to do a good job of dying when things go wrong.
# If you know a good way to test its health please put it here.
Expand Down

0 comments on commit fda8e93

Please sign in to comment.