From 6ef34d3bc998f827901f044fec53a40ab663605c Mon Sep 17 00:00:00 2001 From: jdknives <36450093+jdknives@users.noreply.github.com> Date: Fri, 22 Oct 2021 16:33:56 +0300 Subject: [PATCH] Fix the retry delay --- pkg/servicedisc/autoconnect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/servicedisc/autoconnect.go b/pkg/servicedisc/autoconnect.go index 708067c35..abbc5cb8a 100644 --- a/pkg/servicedisc/autoconnect.go +++ b/pkg/servicedisc/autoconnect.go @@ -16,7 +16,7 @@ const ( // PublicServiceDelay defines a delay before adding transports to public services. PublicServiceDelay = 10 * time.Second - fetchServicesDelay = 5 * time.Second + fetchServicesDelay = 3 * time.Minute maxFailedAddressRetryAttempt = 2 )