Changeset

10959:877ceb4feb6d

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.
author Matthew Wild <mwild1@gmail.com>
date Thu, 25 Jun 2020 15:34:29 +0100
parents 10958:25680ece29c2
children 10960:f84e0e2faae2
files net/dns.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;