# HG changeset patch # User Matthew Wild # Date 1593095669 -3600 # Node ID 877ceb4feb6d340b198344f64546cdd3977f7989 # Parent 25680ece29c2cda16e14325339f977de6b08a158 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. diff -r 25680ece29c2 -r 877ceb4feb6d net/dns.lua --- a/net/dns.lua Thu Jun 25 15:31:20 2020 +0100 +++ b/net/dns.lua Thu Jun 25 15:34:29 2020 +0100 @@ -71,7 +71,7 @@ }; local get, set = ztact.get, ztact.set; -local default_timeout = 15; +local default_timeout = 5; local default_jitter = 1; local default_retry_jitter = 2;