Home >Backend Development >PHP Tutorial >laravel5.1 - What is the default in the redis configuration in laravel queue.php?

laravel5.1 - What is the default in the redis configuration in laravel queue.php?

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

laravel5.1 - What is the default in the redis configuration in laravel queue.php?

Which configuration does connection refer to?

Reply content:

laravel5.1 - What is the default in the redis configuration in laravel queue.php?

Which configuration does connection refer to?

laravel5.1 - What is the default in the redis configuration in laravel queue.php?

https://laravel.com/docs/5.2/redis, take a look at the manual

In the database.php configuration file:

<code>    'redis' => [

        'cluster' => false,

        'default' => [
            'host'     => '127.0.0.1',
            'port'     => 6379,
            'database' => 0,
        ],

    ],</code>
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