mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
net.dns: Reduce default timeout to 5s
Most healthy queries will return well within this time, and the new retry logic should help spread the cost of additional retries.
This commit is contained in:
parent
5e744740f3
commit
6daae1f629
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ local ztact = { -- public domain 20080404 lua@ztact.com
|
|||
};
|
||||
local get, set = ztact.get, ztact.set;
|
||||
|
||||
local default_timeout = 15;
|
||||
local default_timeout = 5;
|
||||
local default_jitter = 1;
|
||||
local default_retry_jitter = 2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue