Some people find it preferable to close server-to-server connections after they have been silent for a while.
…is trivial. The default timeout is 300 seconds (5 minutes). To change this simply put in the config:
s2s_idle_timeout = 60 -- or any other number of seconds
0.6 | Works |
0.7 | Works |
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_s2s_idle_timeout
For earlier versions see the documentation for installing 3rd party modules