Skip to content

Commit

Permalink
bug: increment counter
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdRainbow authored and kalikaneko committed Feb 21, 2023
1 parent 1804de3 commit da06217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/backend/gatewaychecker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit da06217

Please sign in to comment.