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
+3 -1
View File
@@ -56,7 +56,9 @@ Restart the deployed process after editing `config.json`. Long-running processes
> When the WebSocket `host` is `0.0.0.0`, the channel refuses to start unless `token` or `tokenIssueSecret` is also configured. See [`webui.md#lan-access`](./webui.md#lan-access) for details.
> The gateway health route itself is intentionally minimal and unauthenticated. When the
> container binds it to `0.0.0.0`, publish port `18790` to host loopback only; place any
> remotely monitored health endpoint behind a firewall or reverse proxy.
> remotely monitored health endpoint behind a firewall or reverse proxy. If another host
> must probe it directly, replace `127.0.0.1` in the port mapping with a trusted host
> interface and restrict inbound traffic to the monitoring system.
### Docker Compose