diff options
Diffstat (limited to 'docs/operations.md')
| -rw-r--r-- | docs/operations.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/operations.md b/docs/operations.md index da73fce..fae3b6c 100644 --- a/docs/operations.md +++ b/docs/operations.md @@ -162,9 +162,10 @@ The names the proxy gives are the users of `--protocol-writers` and of who wrote ([`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. +passes it on as it comes, and says it's alive while nothing changes: the dashboard's +events every 15 s, `/stream` every 30 s (a blank line, `--stream-heartbeat`), within +nginx's `proxy_read_timeout` (60 s). With a proxy that gives up sooner, lower +`--stream-heartbeat` below its timeout. The API may also be served under a path of its own (`location /continuum/ { proxy_pass http://unix:/run/continuum/api.sock:/; }`): its redirects (`Location`), the dashboard's |
