Software /
code /
prosody
Comparison
plugins/mod_s2s/s2sout.lib.lua @ 4832:6b3aec1e0d9f
s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2s
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 10 May 2012 23:05:03 +0200 |
parent | 4814:474684c07a3a |
child | 4906:89df1f03546a |
comparison
equal
deleted
inserted
replaced
4831:da2c49a9ab99 | 4832:6b3aec1e0d9f |
---|---|
24 | 24 |
25 local log = module._log; | 25 local log = module._log; |
26 | 26 |
27 local sources = {}; | 27 local sources = {}; |
28 | 28 |
29 local dns_timeout = module:get_option_number("dns_timeout", 15); | |
30 dns.settimeout(dns_timeout); | |
29 local max_dns_depth = module:get_option_number("dns_max_depth", 3); | 31 local max_dns_depth = module:get_option_number("dns_max_depth", 3); |
30 | 32 |
31 local s2sout = {}; | 33 local s2sout = {}; |
32 | 34 |
33 local s2s_listener; | 35 local s2s_listener; |