diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-05-10 23:10:56 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-05-10 23:10:56 +0100 |
commit | 573a691a315411d2db409da6b47e5d2abaf4d716 (patch) | |
tree | 7d106febcc951f5b332e0e59795539b7ae1bb82f /plugins/mod_s2s | |
parent | 75d9d9e997d8f88e483f3c79305fe0d79fb90c9a (diff) | |
parent | 3713488b271aee3c381048843c82d57d328df346 (diff) | |
download | prosody-573a691a315411d2db409da6b47e5d2abaf4d716.tar.gz prosody-573a691a315411d2db409da6b47e5d2abaf4d716.zip |
Merge with Zash
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r-- | plugins/mod_s2s/s2sout.lib.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_s2s/s2sout.lib.lua b/plugins/mod_s2s/s2sout.lib.lua index f3496597..2ddc9299 100644 --- a/plugins/mod_s2s/s2sout.lib.lua +++ b/plugins/mod_s2s/s2sout.lib.lua @@ -26,6 +26,8 @@ local log = module._log; local sources = {}; +local dns_timeout = module:get_option_number("dns_timeout", 15); +dns.settimeout(dns_timeout); local max_dns_depth = module:get_option_number("dns_max_depth", 3); local s2sout = {}; |