Mercurial > prosody-modules
comparison mod_s2s_keepalive/README.markdown @ 3065:49254b9cc751
mod_s2s_keepalive/README: Clarify options (fixes #675)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 29 May 2018 05:04:52 +0200 |
parents | f1ea8044f9f8 |
children | 427879b46061 |
comparison
equal
deleted
inserted
replaced
3064:ce61f1826f1f | 3065:49254b9cc751 |
---|---|
9 to keep your connection alive. | 9 to keep your connection alive. |
10 | 10 |
11 Configuration | 11 Configuration |
12 ============= | 12 ============= |
13 | 13 |
14 Simply add the module to the `modules_enabled` list and specify your | 14 Simply add the module to the `modules_enabled` list like any other |
15 desired servers in `keepalive_servers`. Optionally you can configure | 15 module. By default, all current s2s connections will be pinged |
16 the ping interval. | 16 periodically. To ping only a subset of servers, list these in |
17 `keepalive_servers`. The ping interval can be set using | |
18 `keepalive_interval`. | |
17 | 19 |
18 ``` lua | 20 ``` lua |
19 modules_enabled = { | 21 modules_enabled = { |
20 ... | 22 ... |
21 "s2s_keepalive" | 23 "s2s_keepalive" |