Home >Backend Development >PHP Tutorial >What is connection in laravel 5.1 php artisan queue:listen connection?

What is connection in laravel 5.1 php artisan queue:listen connection?

WBOY
WBOYOriginal
2016-07-06 13:53:09915browse

This is what is said in the document, I don’t quite understand it
What is connection in laravel 5.1 php artisan queue:listen connection?

Reply content:

This is what is said in the document, I don’t quite understand it
What is connection in laravel 5.1 php artisan queue:listen connection?

php artisan help queue:listen

<code>Arguments:
  connection               The name of connection</code>

is actually the name of the queue
. Where is it configured?
configqueue.php lists some queues sync, beanstalkd, redis name

Replace connection with these names. It doesn’t matter if you don’t replace it. The configuration file has set default

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn