minor.
This commit is contained in:
parent
57f37bba3c
commit
88bf5f4b9a
@ -31,8 +31,6 @@ function TXPool(prefix, db, options) {
|
||||
this.options = options;
|
||||
this.busy = false;
|
||||
this.jobs = [];
|
||||
|
||||
this.setMaxListeners(Number.MAX_SAFE_INTEGER);
|
||||
}
|
||||
|
||||
utils.inherits(TXPool, EventEmitter);
|
||||
@ -57,7 +55,7 @@ TXPool.prototype._lock = function _lock(func, args, force) {
|
||||
this.busy = true;
|
||||
|
||||
return function unlock() {
|
||||
var item, block;
|
||||
var item;
|
||||
|
||||
assert(!called);
|
||||
called = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user