This package has been deprecated

Author message:

not maintained

core-cluster

1.0.2 • Public • Published

core-cluster v1.0.2

Requirements

  • file_path:path of main server applicaiton file

  • arguments:args to pass to workers

  • log_status:param to show log

  • restart:param to restart instance if stopped

Installation

$ npm install core-cluster

How to use

 
var cluster=require('core-cluster');
 
//path of main server applicaiton file
var file_path='/server.js';
 
//arguments 
var arguments=[];
 
//show log 
var log_status=true;
 
//restart instance if it get stopped
var restart=true;
 
cluster.makecluster(file_path,arguments,log_status,restart,function(response){
 
console.log(response);
 
});
 

license

MIT

/core-cluster/

    Package Sidebar

    Install

    npm i core-cluster

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • scionoftech