fix: simplified primary health responder command
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled

This commit is contained in:
2026-02-07 18:00:38 -08:00
parent 20547c6c25
commit cd6a6efb80

View File

@@ -36,4 +36,4 @@ proxy:
# Commands to run only on the primary node.
# This serves as a primary-only health check responder.
exec:
- cmd: "while true; do echo -e 'HTTP/1.1 200 OK\r\nContent-Length: 7\r\n\r\nPrimary' | nc -l -p 8082; done"
- cmd: "nc -lk -p 8082 -e echo -e 'HTTP/1.1 200 OK\r\nContent-Length: 7\r\n\r\nPrimary'"