Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
swarm: enforce sending swarm size
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioribeiro committed Oct 21, 2014
1 parent cc93803 commit 4ac11fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/swarm.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ class Swarm extends BaseObject {
this.chokedClients = 0
this.satisfyCandidates = []
this.clearRequestFailInterval()
this.trigger('swarm:sizeupdate', {swarmSize: this.size()})
}

clearRequestFailInterval() {
Expand Down

0 comments on commit 4ac11fd

Please sign in to comment.