mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #70782 from MIBc/commenting-error
Commenting error in ItemExponentialFailureRateLimiter
This commit is contained in:
commit
de02d00989
@ -62,7 +62,7 @@ func (r *BucketRateLimiter) NumRequeues(item interface{}) int {
|
|||||||
func (r *BucketRateLimiter) Forget(item interface{}) {
|
func (r *BucketRateLimiter) Forget(item interface{}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ItemExponentialFailureRateLimiter does a simple baseDelay*10^<num-failures> limit
|
// ItemExponentialFailureRateLimiter does a simple baseDelay*2^<num-failures> limit
|
||||||
// dealing with max failures and expiration are up to the caller
|
// dealing with max failures and expiration are up to the caller
|
||||||
type ItemExponentialFailureRateLimiter struct {
|
type ItemExponentialFailureRateLimiter struct {
|
||||||
failuresLock sync.Mutex
|
failuresLock sync.Mutex
|
||||||
|
Loading…
Reference in New Issue
Block a user