net: remove isBusy check from sendRequests.
This commit is contained in:
parent
507fd89948
commit
fa8b4c6428
@ -1689,9 +1689,6 @@ Pool.prototype.scheduleRequests = co(function* scheduleRequests(peer) {
|
|||||||
Pool.prototype.sendRequests = function sendRequests(peer) {
|
Pool.prototype.sendRequests = function sendRequests(peer) {
|
||||||
var i, size, items;
|
var i, size, items;
|
||||||
|
|
||||||
if (this.chain.isBusy())
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (peer.queueBlock.length === 0)
|
if (peer.queueBlock.length === 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user