Unverified Commit de02d009 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #70782 from MIBc/commenting-error

Commenting error in ItemExponentialFailureRateLimiter
parents 710b8761 c1fa760b
...@@ -62,7 +62,7 @@ func (r *BucketRateLimiter) NumRequeues(item interface{}) int { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment