Normandy.Agents.Turn.Supervisor.Horde (normandy v1.1.0)

View Source

Horde.DynamicSupervisor for Turn.Server processes — cluster-wide placement and supervision. Children start under the registry's :via name (atomic registration). resume_policy maps to the child restart value: :lazy:temporary (a lost node's session is NOT redistributed; it is rebuilt on the next request), :eager:transient (Phase 7d; redistributed on node-down).

Summary

Functions

start_link(opts)

@spec start_link(keyword()) :: {:ok, pid()} | {:error, term()}

start_server(sup, server_opts)

@spec start_server(
  term(),
  keyword()
) :: {:ok, pid()} | {:error, term()}