add comment about validationThrottled suerpseding ValidationIgnore
This commit is contained in:
parent
deee35d9b8
commit
63e7ba850c
|
@ -384,6 +384,8 @@ func (v *validation) validateTopic(vals []*topicVal, src peer.ID, msg *Message)
|
|||
result = ValidationReject
|
||||
break
|
||||
case ValidationIgnore:
|
||||
// throttled validation has the same effect, but takes precedence over Ignore as it is not
|
||||
// known whether the throttled validator would have signaled rejection.
|
||||
if result != validationThrottled {
|
||||
result = ValidationIgnore
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue