Skip to content

Commit

Permalink
fix comment, subscriptions don't have validators any more.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Jan 18, 2018
1 parent bbdec3f commit 3f4fc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion floodsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ func (p *PubSub) pushMsg(vals []*topicVal, src peer.ID, msg *Message) {
if len(vals) > 0 {
// validation is asynchronous and globally throttled with the throttleValidate semaphore.
// the purpose of the global throttle is to bound the goncurrency possible from incoming
// network traffic; each subscription also has an individual throttle to preclude
// network traffic; each validator also has an individual throttle to preclude
// slow (or faulty) validators from starving other topics; see validate below.
select {
case p.validateThrottle <- struct{}{}:
Expand Down

0 comments on commit 3f4fc21

Please sign in to comment.