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

luster

Package Overview
Dependencies
Maintainers
0
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

luster - npm Package Compare versions

Comparing version 2.4.1 to 2.5.0

6

lib/worker_wrapper.js

@@ -395,3 +395,3 @@ const cluster = require('cluster'),

if (this.inspectPort) {
this._master.setup({inspectPort: this.inspectPort})
this._master.setup({inspectPort: this.inspectPort});
}

@@ -436,2 +436,3 @@ /** @private */

this.stopping = true;
const stopPid = this._worker && this.pid;

@@ -445,3 +446,4 @@ setImmediate(() => {

// Worker could die while suspend was in-flight, i.e. on endless loop, and _onStateStopped will drop _worker
if (this._worker) {
// Or a new one could be started already
if (this._worker && (this.pid === stopPid)) {
this._worker.disconnect();

@@ -448,0 +450,0 @@ }

{
"name": "luster",
"version": "2.4.1",
"version": "2.5.0",
"description": "Node.js cluster wrapper",

@@ -5,0 +5,0 @@ "main": "./lib/luster.js",

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