From ef294c979f74d77e13d57b757698497708017197 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 17 Apr 2020 05:25:32 +0100 Subject: [PATCH] ntpclient: make retries less sparse --- lib/system/ntpclient/ntpclient.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/system/ntpclient/ntpclient.c b/lib/system/ntpclient/ntpclient.c index 2316fddd8..4474051ad 100644 --- a/lib/system/ntpclient/ntpclient.c +++ b/lib/system/ntpclient/ntpclient.c @@ -50,7 +50,8 @@ struct vhd_ntpc { * and the transaction forever. */ -static const uint32_t botable[] = { 1000, 1250, 1500, 2000, 3000 }; +static const uint32_t botable[] = + { 300, 500, 650, 800, 800, 900, 1000, 1100, 1500 }; static const lws_retry_bo_t bo = { botable, LWS_ARRAY_SIZE(botable), LWS_RETRY_CONCEAL_ALWAYS, 0, 0, 20 };