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:
Matthew Wild 2020-06-25 15:34:29 +01:00
parent 5e744740f3
commit 6daae1f629

View file

@ -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;