bottleneckp
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -69,3 +69,3 @@ hasProp = {}.hasOwnProperty; | ||
Cluster.prototype.status = function() { | ||
Cluster.prototype._status = function() { | ||
var status = []; | ||
@@ -109,2 +109,14 @@ var keys = this.keys(); | ||
Object.defineProperty(Cluster.prototype, 'waitingClients', { | ||
get:function() { | ||
return this._waitingClients() | ||
} | ||
}) | ||
Object.defineProperty(Cluster.prototype, 'status', { | ||
get:function() { | ||
return this._status() | ||
} | ||
}) | ||
module.exports = Cluster; |
{ | ||
"name": "bottleneckp", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "asynchronous rate limiter with priority", | ||
@@ -5,0 +5,0 @@ "main": "./lib/Bottleneck.js", |
@@ -70,3 +70,3 @@ global.TEST = true | ||
size: function() { | ||
return cluster._waitingClients() | ||
return cluster.waitingClients | ||
}, | ||
@@ -73,0 +73,0 @@ fastJob: function(inLimiter, value) { |
17786
488