Comparing version 0.1.7 to 0.1.8
{ | ||
"name": "jqueue", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "MySQL backed plugable Node.js job queue based on the Beanstalk Job Lifecycle", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
@@ -40,5 +40,7 @@ var Queue = require('./queue'); | ||
priority TINYINT NOT NULL,\ | ||
date_time TIMESTAMP NOT NULL,\ | ||
time_to_run TIMESTAMP NULL DEFAULT NULL,\ | ||
date_time TIMESTAMP DEFAULT 0 NOT NULL,\ | ||
time_to_run TIMESTAMP DEFAULT 0 NOT NULL,\ | ||
version INT NULL DEFAULT NULL,\ | ||
`created_at` TIMESTAMP DEFAULT 0 NOT NULL, \ | ||
`modified_at` TIMESTAMP DEFAULT 0 ON UPDATE now(), \ | ||
PRIMARY KEY (id)) ENGINE = ??', [queueName, storageEngine], cb); | ||
@@ -45,0 +47,0 @@ } |
@@ -168,4 +168,4 @@ var callBack = require('./callback'); | ||
function writeMessage (message, cb) { | ||
execQuery('INSERT INTO ?? (status, data, priority, date_time) \ | ||
VALUES (?,?,?,DATE_ADD(CURRENT_TIMESTAMP, INTERVAL ? SECOND))', | ||
execQuery('INSERT INTO ?? (status, data, priority, date_time, created_at, modified_at) \ | ||
VALUES (?,?,?,DATE_ADD(CURRENT_TIMESTAMP, INTERVAL ? SECOND), now(), now())', | ||
[message.getQueueName(), message.getStatus(), message.getData(), message.getPriority(), message.getDelay()], cb) | ||
@@ -172,0 +172,0 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
1363
53946
17
1