aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-19 09:18:10 +0200
committerDanilo M. <danix@danix.xyz>2026-10-19 09:18:10 +0200
commit73bd9ea2e297a88ae8de11414819cf45e5fc0bb2 (patch)
tree1ce1db69822f7fe65b7d516b4e3771fab980c91f /README.md
parent08b8b36dcf5c42bf76d02258c4dd05834627c9d3 (diff)
downloadnotifyd-73bd9ea2e297a88ae8de11414819cf45e5fc0bb2.tar.gz
notifyd-73bd9ea2e297a88ae8de11414819cf45e5fc0bb2.zip
fix(notify): bound config timeouts to a day
A hand-edited timeout near 1e10 seconds overflowed time.Duration and wrapped to an immediate or negative expiry with no log line. Out of range now reads as the default, like a negative value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f2f7cef..7a4c026 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ is optional and the defaults are the behaviour without the file:
"historyCap": 20
}
-Timeouts are seconds, 0 is never, and apply only when a client sends
+Timeouts are seconds up to a day (86400), 0 is never, and apply only when a client sends
`expire_timeout -1`. Caps clamp to 1..100; a lowered cap applies at the next
notification. A broken file is logged and read as the defaults.