Skip to content

A cluster for total.js that will restart if process dies.

License

Notifications You must be signed in to change notification settings

VarunBatraIT/cluster-total.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cluster-total.js

A cluster for total.js that will restart if process dies.

Same id with a restart


if (F.id === 0) {
        //service perhaps sets a flag to db?
  }else{
        //execution of a service, F.id = 0 is a cluster with 0 id and if it dies, new process will restart with id = 0
  }

Use file/redis session

In memory session will fail every single time, so use file/redis session with it.

About

A cluster for total.js that will restart if process dies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published