Software /
code /
prosody-modules
File
mod_s2s_idle_timeout/README.md @ 6159:82a10e21b7f9
mod_anti_spam: prosody 0.12 compat
diff --git a/mod_anti_spam/trie.lib.lua b/mod_anti_spam/trie.lib.lua
--- a/mod_anti_spam/trie.lib.lua
+++ b/mod_anti_spam/trie.lib.lua
@@ -1,4 +1,4 @@
-local bit = require "prosody.util.bitcompat";
+local bit = require "util.bitcompat";
local trie_methods = {};
local trie_mt = { __index = trie_methods };
author | Menel <menel@snikket.de> |
---|---|
date | Sun, 19 Jan 2025 09:48:10 +0100 |
parent | 6054:d39ddf13ff0a |
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