better-queue
Advanced tools
Comparing version 3.7.2 to 3.7.3
@@ -371,2 +371,3 @@ var uuid = require('node-uuid'); | ||
var oldTask = null; | ||
var isNew = true; | ||
var putTask = function () { | ||
@@ -384,3 +385,3 @@ | ||
id: uuid.v4(), | ||
isNew: !oldTask, | ||
isNew: isNew, | ||
task: newTask, | ||
@@ -436,2 +437,7 @@ priority: priority, | ||
// Check if it's already in the store | ||
if (savedTask !== undefined) { | ||
isNew = false; | ||
} | ||
// Check if task is writing | ||
@@ -438,0 +444,0 @@ if (self._writing[taskId]) { |
{ | ||
"name": "better-queue", | ||
"version": "3.7.2", | ||
"version": "3.7.3", | ||
"description": "Better Queue for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "lib/queue.js", |
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
79415
2074