Heim >Backend-Entwicklung >PHP-Tutorial >laravel5.1 - laravel queue.php 中redis配置中default是什么?
connection是引用了哪个配置呢?
connection是引用了哪个配置呢?
https://laravel.com/docs/5.2/redis,看看手册吧
在database.php配置文件中:
<code> 'redis' => [ 'cluster' => false, 'default' => [ 'host' => '127.0.0.1', 'port' => 6379, 'database' => 0, ], ],</code>