aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-23 18:57:28 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-23 18:57:28 +0100
commit33b4783329a14731c8b8078af366788db2eaf920 (patch)
tree0dd2e5a88c0b27e80eb1292fc70a350274cc08e3 /plugins
parentfc975c9d5fb025d2c5306872fcd818c632bec15d (diff)
downloadprosody-33b4783329a14731c8b8078af366788db2eaf920.tar.gz
prosody-33b4783329a14731c8b8078af366788db2eaf920.zip
mod_s2s: Bump s2s_timeout to 90, to allow for the TCP timeout (in most cases) - this allows us to continue to try other targets
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index d22463bd..9f65f346 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -30,7 +30,7 @@ local cert_verify_identity = require "util.x509".verify_identity;
local s2sout = module:require("s2sout");
-local connect_timeout = module:get_option_number("s2s_timeout", 60);
+local connect_timeout = module:get_option_number("s2s_timeout", 90);
local stream_close_timeout = module:get_option_number("s2s_close_timeout", 5);
local sessions = module:shared("sessions");