Fixed the stale pid issue

This commit is contained in:
mrigangha 2026-05-07 03:37:08 +00:00
parent 54598aee8e
commit 326db4ec7c

View file

@ -69,7 +69,6 @@ func isGatewayAlive(host string, port int, expectedPID int) bool {
if err := json.NewDecoder(resp.Body).Decode(&body); err != nil {
return false
}
fmt.Println("HEllo")
// Only treat as alive if the reported PID matches the PID file.
// This prevents an unrelated service on the same port from being