flub v1.1.4 Flub.NodeSync

Flub.NodeSync is a helper to ensure that :pg2 groups remain sync’d between nodes in a distributed deployment. The methods here are automatically engaged when subscribing to remote nodes to minimize the risk of remotely published messages not being propogated to the local node.

Summary

Functions

Request that the connection to node be maintained, via Node.ping and Node.monitor

Stop the automatic connecion maintenence for node. This method does not call Node.disconnect, but simply stops attempting to monitor and resurrect the connection in case of failures

Functions

maintain_connection(node)

Request that the connection to node be maintained, via Node.ping and Node.monitor.

release_connection(node)

Stop the automatic connecion maintenence for node. This method does not call Node.disconnect, but simply stops attempting to monitor and resurrect the connection in case of failures.