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
commit33ccc4e69998fc0610727d60816d1d4c2eb351a8 (patch)
treefa092f7dad61ecefcc7b635d6e57166fc3d0cdff /docs/api.md
parent62b6b5ed2fbc3de520bae13338f93d1b362a44b9 (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