From 7688330fdf8eefd4e3987e5da6fc7f35eaaf9703 Mon Sep 17 00:00:00 2001 From: shoemoney Date: Tue, 30 Jun 2026 17:58:17 -0500 Subject: [PATCH] =?UTF-8?q?docs:=20note=20graceful=20shutdown=20drops=20SS?= =?UTF-8?q?E=20streams=20immediately=20(fast=20redeploy)=20=F0=9F=9B=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57a175d..9caea9e 100644 --- a/README.md +++ b/README.md @@ -412,7 +412,7 @@ container automatically. ๐Ÿช„ | `devbox-hub serve --metrics-token ` | ๐Ÿ” Require a token for `/metrics` โ€” close the unauthenticated leak on a WAN-exposed hub | | `devbox-hub serve --access-log` | ๐Ÿ“ Log one line per request (method, path, status, bytes, addr) for WAN forensics | | `devbox-hub serve` (startup) | ๐Ÿ›ฐ๏ธ Logs build version + dashboard state; โš ๏ธ warns if `--listen` is non-loopback (plain HTTP โ†’ cleartext bearers without the TLS proxy) | -| `devbox-hub serve` (SIGTERM) | ๐Ÿ›‘ Graceful shutdown โ€” drains in-flight requests via `http.Server.Shutdown`, so the hardened redeploy swaps cleanly | +| `devbox-hub serve` (SIGTERM) | ๐Ÿ›‘ Graceful shutdown โ€” drains in-flight requests via `http.Server.Shutdown` and drops live SSE streams immediately (no 10s wait), so the hardened redeploy swaps cleanly | | `devbox-hub serve --gc-every ` | ๐Ÿงน Opt-in in-process periodic GC (off by default; each sweep animates on the dashboard) | | `devbox-hub gc [--dry-run] [--keep ] [--keep-days ]` | ๐Ÿงน GC unreferenced chunks; `--dry-run` previews, `--keep` keeps N newest/share, `--keep-days` also keeps anything from the last N days | | `GET /healthz` ยท `GET /readyz` | ๐Ÿฉบ Liveness (`/healthz` reports the build version) / readiness (`/readyz` pings the DB โ†’ 503 if unreachable) for Docker/LB |