Diff

net/dns.lua @ 10958:25680ece29c2

net.dns: Increase backoff delays Not entirely happy with the overall logic here.
author Matthew Wild <mwild1@gmail.com>
date Thu, 25 Jun 2020 15:31:20 +0100
parent 10957:8902cecbdd39
child 10959:877ceb4feb6d
line wrap: on
line diff
--- a/net/dns.lua	Thu Jun 25 15:29:49 2020 +0100
+++ b/net/dns.lua	Thu Jun 25 15:31:20 2020 +0100
@@ -668,7 +668,7 @@
 -- socket layer -------------------------------------------------- socket layer
 
 
-resolver.delays = { 1, 3 };
+resolver.delays = { 1, 2, 3, 5 };
 
 resolver.jitter = have_timer and default_jitter or nil;
 resolver.retry_jitter = have_timer and default_retry_jitter or nil;