# HG changeset patch # User Kim Alvefur # Date 1460810586 -7200 # Node ID f1ea8044f9f8e0681e717b72a623b3a7304c5b40 # Parent 95a9f2d234da0d9585a649f5df78ec8ca0881468 mod_s2s_keepalive/README: Give language hints to rendering for syntax hilighting diff -r 95a9f2d234da -r f1ea8044f9f8 mod_s2s_keepalive/README.markdown --- 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 =============