View Source Oban.Peers.Postgres (Oban v2.13.0)

A Postgres based peer that coordinates centrally through a database table.

Leadership is coordinated through the oban_peers table in your database. It doesn't require clustering through distributed Erlang or any other interconnectivity.

usage

Usage

Specify the Postgres peer in your Oban configuration.

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

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.