Bedrock.JobQueue.Supervisor (bedrock_job_queue v0.2.0)
View SourceSupervises the consumer tree for a JobQueue module.
This supervisor is started by the JobQueue module's start_link/1 function
and manages the Consumer supervision tree (Scanner, Manager, Worker pool).
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts the supervisor for the given JobQueue module.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Starts the supervisor for the given JobQueue module.
Options
:concurrency- Number of concurrent workers (default: System.schedulers_online()):batch_size- Items to dequeue per batch (default: 10)