From 73bd9ea2e297a88ae8de11414819cf45e5fc0bb2 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 19 Oct 2026 09:18:10 +0200 Subject: 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') 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. -- cgit v1.2.3