aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-03 00:26:42 +0100
committertv <tv@krebsco.de>2026-11-03 00:26:42 +0100
commitc070bef0c1005366104176c1fc5af8b8f63cf01f (patch)
treeeab3e6da7d2b0b4f2648a452a23b5f592091301a /docs/api.md
parent5e62e09d6fe2a03c7fdcda63c879d8fdd1dfb7b1 (diff)
add stream heartbeat
Diffstat (limited to 'docs/api.md')
-rw-r--r--docs/api.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md
index e813845..cdc722e 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -194,6 +194,9 @@ node or by sync:
{"key":"settings/theme","deleted":true}
```
+While nothing changes, a blank line every 30 s (`--stream-heartbeat`) keeps proxies in
+front from taking the stream for dead; skip blank lines.
+
An event carries the value as a read would return it then. Changes in quick succession
may come as one event with the latest value: a stream tells the value, not every write.
A change that leaves the value as it was sends nothing. The connection stays open; after