Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jqueue

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jqueue - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

2

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc