test(entrypoint): disable consul registration to isolate leadership issue
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 40s

This commit is contained in:
2026-04-27 10:10:23 -07:00
parent 9232aeccc5
commit 7ea127f9cb

View File

@@ -129,15 +129,15 @@ while true; do
# === WE ARE PRIMARY ===
if [ "${NAVIDROME_PID}" -eq 0 ] || ! kill -0 "${NAVIDROME_PID}" 2>/dev/null; then
start_app
register_service
# register_service
fi
pass_ttl
# pass_ttl
else
# === WE ARE REPLICA ===
if [ "${NAVIDROME_PID}" -gt 0 ]; then
echo "Lost leadership. Demoting..."
stop_app
deregister_service
# deregister_service
fi
fi
sleep 10