better-queue
Advanced tools
Comparing version 3.8.3 to 3.8.4
@@ -477,10 +477,3 @@ var uuid = require('node-uuid'); | ||
var self = this; | ||
if (self.batchSize === 1 && self.batchDelay > 0) { | ||
if (!self._batchTimeoutId) { | ||
self._batchTimeoutId = setTimeout(function () { | ||
self._batchTimeoutId = null; | ||
self._processNextIfAllowed(); | ||
}, self.batchDelay) | ||
} | ||
} else if (self.length >= self.batchSize) { | ||
if (self.length >= self.batchSize) { | ||
if (self._batchTimeoutId) { | ||
@@ -487,0 +480,0 @@ clearTimeout(self._batchTimeoutId); |
{ | ||
"name": "better-queue", | ||
"version": "3.8.3", | ||
"version": "3.8.4", | ||
"description": "Better Queue for NodeJS", | ||
@@ -30,3 +30,4 @@ "main": "lib/queue.js", | ||
"devDependencies": { | ||
"mocha": "^2.3.4" | ||
"mocha": "^2.3.4", | ||
"mocha-junit-reporter": "^1.12.1" | ||
}, | ||
@@ -33,0 +34,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20
77803
2
2028