A
A
asdasdqwe2021-12-18 07:56:39
Laravel
asdasdqwe, 2021-12-18 07:56:39

How to set queue name in laravel?

In the documentation there is a job call with a specific queue name (emails) But where is the queue name specified?? In the job class constructor?
ProcessPodcast::dispatch()->onQueue('emails');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2021-12-18
@asdasdqwe

I guess what you are really asking is "where does the emails queue come from". The queue entity, by and large, is not in Laravel from the point of view of a simple site. You specify the names of the required queues in the application and supervisor configs, and then the framework itself creates them under the hood.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question