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 /core | |
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 'core')
-rw-r--r-- | core/s2smanager.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index a4b75db5..ea626baa 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -17,12 +17,7 @@ local logger_init = require "util.logger".init; local log = logger_init("s2smanager"); -local adns, dns = require "net.adns", require "net.dns"; local config = require "core.configmanager"; -local dns_timeout = config.get("*", "core", "dns_timeout") or 15; - ---FIXME: s2sout should create its own resolver w/ timeout -dns.settimeout(dns_timeout); local prosody = _G.prosody; incoming_s2s = {}; |