diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-23 18:57:28 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-23 18:57:28 +0100 |
commit | 33b4783329a14731c8b8078af366788db2eaf920 (patch) | |
tree | 0dd2e5a88c0b27e80eb1292fc70a350274cc08e3 /plugins/mod_s2s/mod_s2s.lua | |
parent | fc975c9d5fb025d2c5306872fcd818c632bec15d (diff) | |
download | prosody-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/mod_s2s/mod_s2s.lua')
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 2 |
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"); |