Skip to content

Commit

Permalink
Update Redis documentation: add name option (#6672)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Anidjar <kevin.anidjar@total.com>
  • Loading branch information
kanidjar and Kevin Anidjar committed Dec 16, 2020
1 parent c03f067 commit faaf43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ By default, Laravel will use the phpredis extension to communicate with Redis. T
// Rest of Redis configuration...
],

In addition to the default `host`, `port`, `database`, and `password` server configuration options, phpredis supports the following additional connection parameters: `persistent`, `prefix`, `read_timeout`, `retry_interval`, `timeout`, and `context`. You may add any of these options to your Redis server configuration in the `config/database.php` configuration file:
In addition to the default `host`, `port`, `database`, and `password` server configuration options, phpredis supports the following additional connection parameters: `name`, `persistent`, `prefix`, `read_timeout`, `retry_interval`, `timeout`, and `context`. You may add any of these options to your Redis server configuration in the `config/database.php` configuration file:

'default' => [
'host' => env('REDIS_HOST', 'localhost'),
Expand Down

0 comments on commit faaf43f

Please sign in to comment.