From d9924139c501d85d4eed364d17caf60a9fbc507f Mon Sep 17 00:00:00 2001 From: Tomohisa Oda Date: Thu, 9 Apr 2026 18:09:52 +0900 Subject: [PATCH] Set the default value to match the implementation https://github.com/stalwartlabs/stalwart/blob/2266634f36e2ac481850ddb3880820ceff0d00be/crates/common/src/config/jmap/settings.rs#L306-L311 --- docs/http/jmap/websockets.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/http/jmap/websockets.md b/docs/http/jmap/websockets.md index 01e5628..e2b98d9 100644 --- a/docs/http/jmap/websockets.md +++ b/docs/http/jmap/websockets.md @@ -18,8 +18,8 @@ JMAP over WebSocket is enabled by default in Stalwart and is available to JMAP c The WebSocket following parameters can be configured under the `jmap.web-socket` section: -- ``timeout``: Connection timeout for WS clients, the amount of seconds before a WS connection times out. Defaults to 10 seconds. -- ``heartbeat``: Heartbeat interval, the amount of seconds between heartbeat packets sent to WS clients. Defaults to 5 seconds. +- ``timeout``: Connection timeout for WS clients, the amount of seconds before a WS connection times out. Defaults to 10 minutes. +- ``heartbeat``: Heartbeat interval, the amount of seconds between heartbeat packets sent to WS clients. Defaults to 1 minute. - ``throttle``: Notifications throttle, the amount of time to wait before sending a batch of notifications to a WS client. Defaults to 1000 milliseconds (1 second). Example: