# HG changeset patch # User Kim Alvefur # Date 1576950636 -3600 # Node ID bfc4d495bf2cb8cfce882e59f6a7064c8791b233 # Parent 7fe10086e1243bf3aa4a9ae369e78f0160864001 mod_s2s_keepalive: Update README to document timeout behavior diff -r 7fe10086e124 -r bfc4d495bf2c mod_s2s_keepalive/README.markdown --- a/mod_s2s_keepalive/README.markdown Sat Dec 21 18:47:39 2019 +0100 +++ b/mod_s2s_keepalive/README.markdown Sat Dec 21 18:50:36 2019 +0100 @@ -17,6 +17,9 @@ `keepalive_servers`. The ping interval can be set using `keepalive_interval`. +If no response to the ping has been received in about 10 minutes (or +`keepalive_timeout` seconds) the s2s connections are closed. + ``` lua modules_enabled = { ... @@ -25,6 +28,7 @@ keepalive_servers = { "conference.prosody.im"; "rooms.swift.im" } keepalive_interval = 90 -- (in seconds, default is 60 ) +keepalive_timeout = 300 -- (in seconds, default is 593 ) ``` Compatibility