扫码关注官方订阅号
这是文档里的话,不太懂
php artisan help queue:listen
Arguments: connection The name of connection
其实就是队列的名字在哪里配置呢config\queue.php 列出了一些队列 sync,beanstalkd,redis 名字
config\queue.php
sync
beanstalkd
redis
用这些名字 替换 connection ,不替换也没关系,配置文件了设置了 default
connection
default
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
php artisan help queue:listen其实就是队列的名字
在哪里配置呢
config\queue.php列出了一些队列sync,beanstalkd,redis名字用这些名字 替换
connection,不替换也没关系,配置文件了设置了default