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

throng

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

throng - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/throng.js

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

module.exports = function(startFn, options) {
if (cluster.isWorker) return startFn();
if (cluster.isWorker) return startFn(cluster.worker.id);

@@ -9,0 +9,0 @@ options = options || {};

{
"name": "throng",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple worker-manager for clustered apps",

@@ -5,0 +5,0 @@ "keywords": [

@@ -60,6 +60,5 @@ # Throng

var throng = require('throng');
var config = require('config');
throng(start, {
workers: config.single ? 1 : null,
workers: 4,
lifetime: Infinity,

@@ -66,0 +65,0 @@ grace: 4000

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