Mercurial > prosody-modules
diff mod_s2s_keepalive/README.markdown @ 2162:f1ea8044f9f8
mod_s2s_keepalive/README: Give language hints to rendering for syntax hilighting
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 16 Apr 2016 14:43:06 +0200 |
parents | 6e712ce58edf |
children | 49254b9cc751 |
line wrap: on
line diff
--- a/mod_s2s_keepalive/README.markdown Fri Apr 15 16:59:27 2016 +0000 +++ b/mod_s2s_keepalive/README.markdown Sat Apr 16 14:43:06 2016 +0200 @@ -5,7 +5,7 @@ Introduction ============ -This module periodically sends XEP-0199 ping requests to remote servers +This module periodically sends [XEP-0199] ping requests to remote servers to keep your connection alive. Configuration @@ -15,13 +15,15 @@ desired servers in `keepalive_servers`. Optionally you can configure the ping interval. - modules_enabled = { - ... - "s2s_keepalive" - } +``` lua +modules_enabled = { + ... + "s2s_keepalive" +} - keepalive_servers = { "conference.prosody.im"; "rooms.swift.im" } - keepalive_interval = "300" -- (in seconds, default is 60 ) +keepalive_servers = { "conference.prosody.im"; "rooms.swift.im" } +keepalive_interval = "300" -- (in seconds, default is 60 ) +``` Compatibility =============