Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 4997:61083e2b1392
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
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 23 Jul 2012 18:57:28 +0100 |
parent | 4996:164dc19519d8 |
child | 5013:ab693eea0869 |
comparison
equal
deleted
inserted
replaced
4996:164dc19519d8 | 4997:61083e2b1392 |
---|---|
28 local uuid_gen = require "util.uuid".generate; | 28 local uuid_gen = require "util.uuid".generate; |
29 local cert_verify_identity = require "util.x509".verify_identity; | 29 local cert_verify_identity = require "util.x509".verify_identity; |
30 | 30 |
31 local s2sout = module:require("s2sout"); | 31 local s2sout = module:require("s2sout"); |
32 | 32 |
33 local connect_timeout = module:get_option_number("s2s_timeout", 60); | 33 local connect_timeout = module:get_option_number("s2s_timeout", 90); |
34 local stream_close_timeout = module:get_option_number("s2s_close_timeout", 5); | 34 local stream_close_timeout = module:get_option_number("s2s_close_timeout", 5); |
35 | 35 |
36 local sessions = module:shared("sessions"); | 36 local sessions = module:shared("sessions"); |
37 | 37 |
38 local log = module._log; | 38 local log = module._log; |