Comparing version
@@ -47,3 +47,6 @@ Object.defineProperty(exports, "__esModule", { | ||
this.client = new _ioredis2['default'](connection); | ||
this.subscriber = new _ioredis2['default'](connection); | ||
this.subscriber = new _ioredis2['default'](Object.assign({}, connection, { | ||
// Force our db to be 0 for the subscriber: | ||
db: 0 | ||
})); | ||
this.redlock = new _redlock2['default']([this.client], { retryCount: 0 }); | ||
@@ -50,0 +53,0 @@ |
{ | ||
"name": "bossman", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Distributed job scheduling in node, based on redis.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
130879
0.07%235
1.29%