do not kill loader if we have pending blocks.

This commit is contained in:
Christopher Jeffrey 2016-04-17 23:20:25 -07:00
parent 1ea23577e4
commit a62d249d8e
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -480,6 +480,9 @@ Pool.prototype._startInterval = function _startInterval() {
if (self.chain.isFull())
return;
if (self.chain.locker.pending.length > 0)
return self._startTimer();
bcoin.debug('Stall recovery: loading again.');
// self._load();
}