laravel5.1 - laravel queue.php 中redis配置中default是什么?
程序员文章站
2022-05-15 16:48:13
...
connection是引用了哪个配置呢?
回复内容:
connection是引用了哪个配置呢?
https://laravel.com/docs/5.2/redis,看看手册吧
在database.php配置文件中:
'redis' => [
'cluster' => false,
'default' => [
'host' => '127.0.0.1',
'port' => 6379,
'database' => 0,
],
],