Merge pull request #70782 from MIBc/commenting-error

Commenting error in ItemExponentialFailureRateLimiter

Kubernetes-commit: de02d00989cb5de533a66600be412164517f90d4
This commit is contained in:
Kubernetes Publisher 2018-12-31 14:39:36 -08:00
commit 8bb74a6e75

View File

@ -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