mod_s2s_idle_timeout

Introduction

By default prosody does not close s2s connections. This module changes that behaviour by introducing an idle timeout. It will close server-to-server connections after they have been silent for a while.

Configuration

The default timeout is 300 seconds (5 minutes). To change this simply put in the config:

s2s_idle_timeout = 180 -- time in seconds

Compatibility

Prosody Version Status
trunk1 Works
0.12 Works

  1. as of 2024-10-22↩︎


Installation

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