diff --git a/src/swarm.js b/src/swarm.js index b51099d..311b416 100644 --- a/src/swarm.js +++ b/src/swarm.js @@ -130,6 +130,7 @@ class Swarm extends BaseObject { this.chokedClients = 0 this.satisfyCandidates = [] this.clearRequestFailInterval() + this.trigger('swarm:sizeupdate', {swarmSize: this.size()}) } clearRequestFailInterval() {