New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qjobs

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qjobs - npm Package Compare versions

Comparing version

to
1.1.0

2

package.json
{
"name": "qjobs",
"version": "1.0.9",
"version": "1.1.0",
"description": "qjobs is a simple and stupid queue job manager for nodejs",

@@ -5,0 +5,0 @@ "main": "qjobs.js",

@@ -212,2 +212,8 @@

// backward compatibility < 1.0.9
module.exports.run = run;
module.exports.add = add;
module.exports.setConcurrency = setConcurrency;
module.exports.setInterval = setInterval;
module.exports.stats = stats;
module.exports.on = self.on

@@ -5,4 +5,6 @@ #!/usr/bin/env node

// only 2 jobs in the same time
var q = new require('../qjobs')({maxConcurrency:2});
var q = new require('../qjobs');
q.setConcurrency(2);
var testExecutedJobs = 0;

@@ -9,0 +11,0 @@