From b9a7cfb4fac3c0f8bad3342faaf6085a2e783b30 Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Thu, 16 Feb 2023 00:49:45 +0300 Subject: [PATCH] :zap: Reduce `DefaultSleep` value --- internal/connect/hub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/connect/hub.go b/internal/connect/hub.go index d0db2ff25..6af7ddfe7 100644 --- a/internal/connect/hub.go +++ b/internal/connect/hub.go @@ -24,7 +24,7 @@ type Connector struct { const DefaultRetries = 3 const DefaultTimeout = 2 * time.Second -const DefaultSleep = 100 * time.Millisecond +const DefaultSleep = 10 * time.Millisecond func NewConnector(url string, retries int, timeout time.Duration) *Connector { return &Connector{