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

cluster2

Package Overview
Dependencies
Maintainers
6
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluster2 - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

3

lib/process.js

@@ -527,3 +527,6 @@ /*

// Recycle self when no of connections connection threshold
// we'd like to have the threshold randomized in between [1, 1.5) of the given threshold
// to avoid all workers die around the same time. This is in particular important for boxes of small number of cpu cores
var threshold = self.options.connThreshold;
threshold = threshold + Math.floor((Math.random() * threshold) / 2);
var recycle = setInterval(function() {

@@ -530,0 +533,0 @@ if(totalConns > threshold) {

2

package.json

@@ -8,3 +8,3 @@ {

"name": "cluster2",
"version": "0.4.7",
"version": "0.4.8",
"repository": {

@@ -11,0 +11,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

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