From a6a4b846b34b9829b6ed6ead15f13ea00f73c03d Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 2 Nov 2026 21:37:48 +0100 Subject: api: /stream & dashboard send X-Accel-Buffering --- docs/operations.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/operations.md') diff --git a/docs/operations.md b/docs/operations.md index be185f1..7dcdb92 100644 --- a/docs/operations.md +++ b/docs/operations.md @@ -125,6 +125,11 @@ location / { and the node started with `--user-header X-Remote-User`. The names the proxy gives are the users of `--protocol-writers` and of who wrote what ([`api.md`](api.md)). +What streams (`/stream`, the dashboard's events) says `X-Accel-Buffering: no`, so nginx +passes it on as it comes. The dashboard's events have a keepalive every 15 s; `/stream` +sends nothing while nothing changes, so nginx ends a quiet one after its +`proxy_read_timeout` (60 s): raise that for it, or have clients reconnect. + ## What to alert on From the metrics (`GET /admin/stats` as Prometheus, [`measurements.md`](measurements.md)): -- cgit v1.3.1