Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <nolouch@gmail.com>
  • Loading branch information
nolouch committed May 28, 2024
1 parent bf2ceb2 commit 30a318f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions client/resource_group/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1245,15 +1245,9 @@ func (gc *groupCostController) onRequestWait(
break retryLoop
}
}
<<<<<<< HEAD
gc.requestRetryCounter.Inc()
gc.metrics.requestRetryCounter.Inc()
time.Sleep(retryInterval)
waitDuration += retryInterval
=======
gc.metrics.requestRetryCounter.Inc()
time.Sleep(gc.mainCfg.WaitRetryInterval)
waitDuration += gc.mainCfg.WaitRetryInterval
>>>>>>> b7d8b9406 (controller: fix error retry and add more metrics (#8219))
}
if err != nil {
if errs.ErrClientResourceGroupThrottled.Equal(err) {
Expand Down

0 comments on commit 30a318f

Please sign in to comment.