diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-08-07 18:11:43 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-08-07 18:11:43 +0200 |
commit | 4d70c44a7d5de56d7ed0b5b730fc92bf7222147d (patch) | |
tree | 5ca717c16fde6ecd5e10d6b4a2ed407ace2a6b4a | |
parent | def04d660925a3cacae7258de6744ba6e87f3eac (diff) | |
download | poezio-4d70c44a7d5de56d7ed0b5b730fc92bf7222147d.tar.gz poezio-4d70c44a7d5de56d7ed0b5b730fc92bf7222147d.tar.bz2 poezio-4d70c44a7d5de56d7ed0b5b730fc92bf7222147d.tar.xz poezio-4d70c44a7d5de56d7ed0b5b730fc92bf7222147d.zip |
Document self_ping_delay
-rw-r--r-- | doc/source/configuration.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst index c910b0e5..ddb16ba6 100644 --- a/doc/source/configuration.rst +++ b/doc/source/configuration.rst @@ -1190,5 +1190,26 @@ found. Only for MUC tabs: if true the tab will change its color to notify you when a new message is received. You will still be notified of highlights. Set to ``false`` if you’re not interested in a room non-highlight notifications. + self_ping_delay + + **Default value:** ``0`` + + When this option is set to a positive value ``n``, poezio will send + a ping request to its own nick in the MUC every n seconds of + inactivity (whenever no new message or presence is received from the + MUC room for more than n seconds). If the MUC service does not + respond with a successful pong within 60 seconds (that is: on an + error of the type “not-allowed” which means the MUC service doesn’t + consider us to be present in that room, or on a timeout which + probably means that the service is down), poezio will mark that MUC + room as not joined and will try to re-join it. This is useful to + know when a MUC server crashes or becomes unavailable, because there + is no mechanism to be informed of that fact in XMPP. + + A value of at least 60 seconds is recommended, to avoid sending too + many requests. + + When set to 0 (the default value), no ping request will be sent. + .. _OpenSSL format: https://www.openssl.org/docs/apps/ciphers.html#CIPHER_LIST_FORMAT |