liaison v0.1.0 Liaison.Strategy.Epmd View Source
Strategy for node connections via EPMD
config :liaison,
strategy: [
[
strategy: Elixir.Liaison.Strategy.Epmd,
reconnect_period: 10,
nodes: []
]
]
Staying Connected
Staying conencted via the Epmd strategy is now easier than ever, just specify the nodes you want to connect to, and how often you want to attempt re-connect
Link to this section Summary
Functions
Returns the current configuration of the strategy
Updates the given module to adopt a new strategy. Returns {old config, new config}
Link to this section Types
Link to this section Functions
Returns the current configuration of the strategy
Link to this function
update_strategy(strat_config)
View Sourceupdate_strategy(strategy_config()) :: {:ok, {strategy_config(), strategy_config()}}
Updates the given module to adopt a new strategy. Returns {old config, new config}