Socket
Socket
Sign inDemoInstall

cluster-service

Package Overview
Dependencies
6
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.9 to 0.5.10

2

cluster-service.js

@@ -50,2 +50,4 @@ var

exports.on = require("./lib/on");
} else {
exports.on = function() { };
}

@@ -52,0 +54,0 @@

2

package.json
{
"name": "cluster-service",
"version": "0.5.9",
"version": "0.5.10",
"author": {

@@ -5,0 +5,0 @@ "name": "Aaron Silvas",

@@ -114,3 +114,3 @@ # cluster-service

forked based on value of ```workerCount```. An object indicates one or more worker objects:
```{ "worker1": { workers: "worker1.js", cwd: process.cwd(), count: 2, ready: true, restart: true } }```.
```{ "worker1": { worker: "worker1.js", cwd: process.cwd(), count: 2, ready: true, restart: true } }```.
This option is automatically set if run via command-line ```cservice "worker.js"``` if

@@ -222,3 +222,3 @@ the ```.js``` extension is detected.

require("cluster-service").start({ workers: { "async_worker.js": { ready: false } } });
require("cluster-service").start({ workers: { "async": { worker: "async_worker.js", ready: false } } });

@@ -225,0 +225,0 @@ Have the worker inform the master once it is actually ready:

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc