comparison mod_s2s_idle_timeout/README.md @ 6024:451ec67f2dd3

mod_s2s_idle_timeout: Reword README 'HG:' are removed. HG: Leave message empty to abort commit. HG: -- HG: user: Menel <menel@snikket.de> mod_s2s_idle_timeout/README.md
author Menel <menel@snikket.de>
date Mon, 11 Nov 2024 23:19:33 +0100
parents 8ea02e737098
children d39ddf13ff0a
comparison
equal deleted inserted replaced
6023:8ea02e737098 6024:451ec67f2dd3
5 ... 5 ...
6 6
7 Introduction 7 Introduction
8 ============ 8 ============
9 9
10 Some people find it preferable to close server-to-server connections 10 By default prosody does not close s2s
11 connections. This module changes that
12 beuavior by inteoducing an idle timeout.
13 It will close server-to-server connections
11 after they have been silent for a while. 14 after they have been silent for a while.
12 15
13 Configuration 16 Configuration
14 ============= 17 =============
15 18
16 ...is trivial. The default timeout is 300 seconds (5 minutes). To change 19 The default timeout is 300 seconds (5 minutes).
17 this simply put in the config: 20 To change this simply put in the config:
18 21
19 s2s_idle_timeout = 60 -- or any other number of seconds 22 s2s_idle_timeout = 180 -- time in seconds
20 23
21 Compatibility 24 Compatibility
22 ============= 25 =============
23 26
24 Prosody Version Status 27 Prosody Version Status
26 trunk[^1] Works 29 trunk[^1] Works
27 0.12 Works 30 0.12 Works
28 ----------------- ----------- 31 ----------------- -----------
29 32
30 [^1]: as of 2024-10-22 33 [^1]: as of 2024-10-22
31