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

proteus-cluster

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proteus-cluster - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

8

lib/cluster.js

@@ -102,3 +102,2 @@ /**

// attache signals
process.on('SIGUSR1', forceShutdown); // restart workers
process.on('SIGUSR2', restart); // restart workers

@@ -230,4 +229,7 @@ process.on('SIGHUP', function() {}); // ignore SIGHUP for background processing

}
logger.debug('process exit with code 0');
process.exit(0);
// in case worker processes are still alive
process.nextTick(function(){
logger.debug('process exit with code 0');
process.exit(0);
});
});

@@ -234,0 +236,0 @@ }

{
"name": "proteus-cluster",
"version": "1.0.5",
"version": "1.0.6",
"scripts": {

@@ -5,0 +5,0 @@ "start": "node app",

@@ -134,13 +134,2 @@ proteus-cluster

run from shell
```shell
$ node cluster.js
$ ps ax | grep node | grep -v 'grep'
2051 s000 S+ 0:00.09 node cluster.js
2052 s000 R+ 0:00.42 node /proteus-cluster/test/worker.js
2053 s000 R+ 0:00.42 node /proteus-cluster/test/worker.js
$ kill -SIGUSR1 2051
```
run from program

@@ -312,13 +301,2 @@

シェルから実行
```shell
$ node cluster.js
$ ps ax | grep node | grep -v 'grep'
2051 s000 S+ 0:00.09 node cluster.js
2052 s000 R+ 0:00.42 node /proteus-cluster/test/worker.js
2053 s000 R+ 0:00.42 node /proteus-cluster/test/worker.js
$ kill -SIGUSR1 2051
```
プログラムから実行

@@ -325,0 +303,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