Oban.Queues (Oban v2.24.1)

View Source

Starts and stops the queues listed in the :queues option.

This is the default queue implementation. It starts each configured queue when an instance starts, leaves them running until the instance stops, and manages queues on demand in response to Oban.start_queue/2 and Oban.stop_queue/2.

🌟 Oban Pro's Queues

Queues listed in the :queues option are static, and changes to concurrency at runtime are lost on restart. To configure queues at runtime and persist those changes across restarts, see Oban.Pro.Queues.

There's nothing to configure here directly. Queues are declared with the top level :queues option:

config :my_app, Oban,
  queues: [default: 10, exports: 5],
  ...

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.