2.0.3 • Published 7 years ago

pluster v2.0.3

Weekly downloads
10
License
ISC
Repository
-
Last release
7 years ago

Pluster

Node.js cluster manager for memory leaked apps

Install

npm install -g pluster

Usage

pluster pluster.conf.js

Config

module.exports = {
    // Required. Path to app
    app: 'dist/server/web.bundle.js',
    
    // Number of allowed workers
    workers: 2,

    // Environment
    env: {
        // pass port for example
        port: 3333  
    },
    
    // How often check memory
    memoryCheckInterval: 5000,
    
    // Memory threshold
    maxAllowedMemory: 500 * 1024 * 1024,
    
    // Timeout to kill worker, after dicsonnect
    killOnDisconnectTimeout: 20000,

    // pathes to plugins
    plugins: []
};
2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago