cyme.branch.state

cyme.branch.state

  • Global branch state.
  • Used to keep track lost connections and so on, which is used by the supervisor to know if an instance is actually down, or if it is just the connection being shaky.
class cyme.branch.state.State
broker_last_revived = None
is_branch = False

set to true if the process is a cyme-branch

on_broker_revive(*args, **kwargs)
supervisor
time_since_broker_revived

Previous topic

cyme.branch.signals

Next topic

cyme.branch.metrics

This Page