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.4 to 0.1.5

2

package.json
{
"name": "jqueue",
"version": "0.1.4",
"version": "0.1.5",
"description": "MySQL backed plugable Node.js job queue based on the Beanstalk Job Lifecycle",

@@ -5,0 +5,0 @@ "devDependencies": {

@@ -27,6 +27,8 @@ var Queue = require('./queue');

function createNewQueue(queueName, isMemory, cb) {
var storageEngine;
var storageEngine, dataType;
if (isMemory) {
dataType = 'VARCHAR(21800)';
storageEngine = 'MEMORY';
} else {
dataType = 'TEXT';
storageEngine = 'MyISAM';

@@ -37,3 +39,3 @@ }

status ENUM(\'ready\', \'reserved\', \'buried\') NOT NULL,\
data VARCHAR(21800) NOT NULL,\
data ?? NOT NULL,\
priority TINYINT NOT NULL,\

@@ -43,3 +45,3 @@ date_time TIMESTAMP NOT NULL,\

version INT NULL DEFAULT NULL,\
PRIMARY KEY (id)) ENGINE = ??', [queueName, storageEngine], cb);
PRIMARY KEY (id)) ENGINE = ??', [queueName, dataType, storageEngine], cb);
}

@@ -46,0 +48,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