summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKikki <dmbogatyrkova@edu.hse.ru>2023-02-07 20:50:13 +0400
committerkali kaneko (leap communications) <kali@leap.se>2023-02-21 17:44:23 +0100
commitda0621717b7bf16144be5c01dddbee4747a82867 (patch)
tree828c18a3cd3de657b408e18e9053a0cc8435748b
parent1804de3705cdcf842458aa66bee49185e4b84328 (diff)
bug: increment counter
-rw-r--r--pkg/backend/gatewaychecker.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/backend/gatewaychecker.go b/pkg/backend/gatewaychecker.go
index f10e47e..e929559 100644
--- a/pkg/backend/gatewaychecker.go
+++ b/pkg/backend/gatewaychecker.go
@@ -13,6 +13,7 @@ func (c connectionCtx) delayCheckForGateways() {
if cnt > 60*2 {
break
}
+ cnt += 1
time.Sleep(time.Second * 5)
transport := c.bm.GetTransport()
locs := c.bm.ListLocationFullness(transport)