diff options
author | Kim Alvefur <zash@zash.se> | 2012-05-10 23:05:03 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-05-10 23:05:03 +0200 |
commit | 3713488b271aee3c381048843c82d57d328df346 (patch) | |
tree | 35d984966e297a23deafa00ce49a4eed56273849 /plugins/mod_s2s | |
parent | 2cd39663b68f1936e5e086d14693a2e50f0e366a (diff) | |
download | prosody-3713488b271aee3c381048843c82d57d328df346.tar.gz prosody-3713488b271aee3c381048843c82d57d328df346.zip |
s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2s
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 = {}; |