diff --git a/connmgr/decay.go b/connmgr/decay.go index 74075673029f95e85323c85c48faac6b33dbc212..eea64f6d7ea303ea14c8988d79ad032a555e62b5 100644 --- a/connmgr/decay.go +++ b/connmgr/decay.go @@ -67,8 +67,8 @@ type DecayingTag interface { Interval() time.Duration // Bump applies a delta to a tag value, calling its bump function. The bump - // may be applied asynchronously, in which case the returned error is used - // to indicate an anomaly when queuing. + // will be applied asynchronously, and a non-nil error indicates a fault + // when queuing. Bump(peer peer.ID, delta int) error }