How can I specify the queue of an Oban workflow, or its jobs (cascade)?
add_cascade accepts job options, so you should be able to do something like wf |> Workflow.add_cascade(:notify, &MyApp.send_summary/1, deps: :users, queue: :my_queue)
for proper jobs in the workflow, you can always drop queue option in the new/2 callback: wf |> Workflow.add(:a, WorkerA.new(%{id: id}, queue: :my_queue))
2 Likes
ahhhh thanks
I was only looking at add_opt which doesn’t include queue
1 Like






















