net: logs.
This commit is contained in:
parent
acdd9c0a8a
commit
d073f87874
@ -1399,6 +1399,10 @@ Pool.prototype.addPeer = function addPeer() {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
Pool.prototype.fillPeers = function fillPeers() {
|
Pool.prototype.fillPeers = function fillPeers() {
|
||||||
|
this.logger.debug('Refilling peers (%d/%d).',
|
||||||
|
this.peers.pending.length + this.peers.regular.length,
|
||||||
|
this.maxPeers - 1);
|
||||||
|
|
||||||
for (var i = 0; i < this.maxPeers - 1; i++)
|
for (var i = 0; i < this.maxPeers - 1; i++)
|
||||||
this.addPeer();
|
this.addPeer();
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user