Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
cluster-fuck management
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
README.md
index.js
package.json

README.md

Failover

A generalized failover solution for TCP based servers.

Features:

  • Detects when a connection has been closed.
  • Automatically upgrades the old TCP instance to a new connection.

Failover.on('failover', from, to, tcp)

A failover has occured successfully and the TCP connection has been upgraded from it's old server/port combination to a new server/port combination.

Failover.on('death', server, tcp)

The server has died, there are no more servers left in the failover pool.

Something went wrong with that request. Please try again.