aboutsummaryrefslogtreecommitdiffstats
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
commitbe5630627292219cfdee1bbba855648ba395a76e (patch)
tree0dd2e5a88c0b27e80eb1292fc70a350274cc08e3
parent9931497619b53ed5006f0cce5346d6618ad49863 (diff)
downloadprosody-be5630627292219cfdee1bbba855648ba395a76e.tar.gz
prosody-be5630627292219cfdee1bbba855648ba395a76e.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
-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");