From 88fd81f2636c60a55e3980861039d95d1c800e7f 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 708067c352..abbc5cb8a5 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 )