View Source Oban.Peers.Global (Oban v2.14.0)

A cluster based peer that coordinates through a distributed registry.

Leadership is coordinated through global locks. It requires a functional distributed Erlang cluster, without one global plugins (Cron, Lifeline, Stager, etc.) will not function correctly.

usage

Usage

Specify the Global peer in your Oban configuration.

config :my_app, Oban,
  peer: Oban.Peers.Global,
  ...

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.