mod_s2s_idle_timeout/README.markdown
author Kim Alvefur <zash@zash.se>
Fri, 25 Jun 2021 15:12:46 +0200
changeset 4603 06c9c9ef0a51
parent 1807 4d73a1a6ba68
permissions -rw-r--r--
mod_invites_register: Fix missing 'from' attribute (thanks Martin) This should probably cause a noisier error in Prosody, than the current > No hosts[from_host] (please report): <stanza> A stack trace would have been useful, for example.

---
labels:
- 'Stage-Stable'
summary: 'Close idle server-to-server connections'
...

Introduction
============

Some people find it preferable to close server-to-server connections
after they have been silent for a while.

Configuration
=============

...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

Compatibility
=============

  ----- -------
  0.6   Works
  0.7   Works
  ----- -------