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

node-resque

Package Overview
Dependencies
Maintainers
3
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-resque - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

examples/customPluginExample.js

@@ -19,3 +19,4 @@ /////////////////////////

// namespace: 'resque',
// looping: true
// looping: true,
// options: {password: 'abc'},
};

@@ -22,0 +23,0 @@

@@ -19,3 +19,4 @@ /////////////////////////

// namespace: 'resque',
// looping: true
// looping: true,
// // options: {password: 'abc'},
};

@@ -22,0 +23,0 @@

@@ -19,3 +19,4 @@ /////////////////////////

// namespace: 'resque',
// looping: true
// looping: true,
// options: {password: 'abc'},
};

@@ -22,0 +23,0 @@

@@ -12,5 +12,11 @@ // I am an example of running multiple node-resque workers in a single process, auto-scaling with CPU utilization

// namespace: 'resque',
// looping: true
// looping: true,
// options: {password: 'abc'},
};
// OR
// var ioredis = require('ioredis');
// connectionDetails = { redis: new ioredis() };
/////////////////

@@ -17,0 +23,0 @@ // DEFINE JOBS //

@@ -23,3 +23,4 @@ /////////////////////////

// namespace: 'resque',
// looping: true
// looping: true,
// options: {password: 'abc'},
};

@@ -26,0 +27,0 @@

@@ -24,3 +24,2 @@ var util = require('util');

host: '127.0.0.1',
password: null,
port: 6379,

@@ -56,6 +55,2 @@ database: 0,

var handleConnection = function(){
if(self.options.password && self.options.password !== ''){
self.redis.auth(self.options.password);
}
if(self.connected === true){

@@ -62,0 +57,0 @@ // nothing to do here; this is a reconnect

@@ -17,2 +17,6 @@ var os = require('os');

if(options.connection.redis && typeof options.connection.redis.setMaxListeners === 'function'){
options.connection.redis.setMaxListeners(options.maxTaskProcessors + 1);
}
self.workers = [];

@@ -19,0 +23,0 @@ self.options = options;

@@ -6,3 +6,3 @@ {

"license": "Apache-2.0",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "http://github.com/taskrabbit/node-resque",

@@ -9,0 +9,0 @@ "repository": {

@@ -31,3 +31,4 @@ # node-resque

// namespace: 'resque',
// looping: true
// looping: true,
// options: {password: 'abc'},
};

@@ -34,0 +35,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