test(gateway): cover slow health clients

This commit is contained in:
Xubin Ren
2026-07-13 15:16:51 +08:00
parent 3824206ab2
commit a65a6f334c
3 changed files with 16 additions and 2 deletions
+2 -1
View File
@@ -1022,7 +1022,8 @@ def _print_gateway_health_endpoint(host: str, port: int) -> None:
return
console.print(
"[yellow]Warning: the unauthenticated health endpoint is reachable beyond this device. "
"[yellow]Warning: the unauthenticated health endpoint is listening beyond loopback "
"and may be reachable from other devices. "
f"Keep port {port} private or protect it with a firewall or reverse proxy.[/yellow]"
)