func (b *Policy) DecError(numErrors int) int {
	numErrors -= b.RecoveryInterval
	if numErrors < 0 {
		return 0
	}
	return numErrors
}
// DecError decrements the error counter down to zero at RecoveryInterval rate
DecError decrements the error counter down to zero at RecoveryInterval rate
// DecError decrements the error counter down to zero at RecoveryInterval rate
func (b *Policy) DecError(numErrors int) int {
	numErrors -= b.RecoveryInterval
	if numErrors < 0 {
		return 0
	}
	return numErrors
}
func ( b * Policy ) DecError ( numErrors int ) int { numErrors -= b . RecoveryInterval if numErrors < 0 { return 0 } return numErrors }
DecError decrements the error counter down to zero at RecoveryInterval rate
DecError decrements the error counter down to zero at RecoveryInterval rate