view mod_s2s_idle_timeout/README.md @ 6230:ff7d6ee9db20

mod_push2: remove debug log
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Tue, 27 May 2025 06:25:49 -0500
parents d39ddf13ff0a
children 1661f6a74141
line wrap: on
line source

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

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
  ----------------- -----------
  trunk[^1]         Works
  0.12              Works
  ----------------- -----------

[^1]: as of 2024-10-22