Skip to content

Commit

Permalink
Add additional phpredis configs
Browse files Browse the repository at this point in the history
Mention the newly added phpredis config options that users are able to specify (see: laravel/framework#54191)
  • Loading branch information
TheLevti authored Jan 15, 2025
1 parent 668ffde commit f753d2f
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 @@ -176,7 +176,7 @@ By default, Laravel will use the PhpRedis extension to communicate with Redis. T
// ...
],

In addition to the default configuration options, PhpRedis supports the following additional connection parameters: `name`, `persistent`, `persistent_id`, `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 configuration options, PhpRedis supports the following additional connection parameters: `name`, `persistent`, `persistent_id`, `prefix`, `read_timeout`, `retry_interval`, `max_retries`, `backoff_algorithm`, `backoff_base`, `backoff_cap`, `timeout`, and `context`. You may add any of these options to your Redis server configuration in the `config/database.php` configuration file:

'default' => [
'url' => env('REDIS_URL'),
Expand Down

0 comments on commit f753d2f

Please sign in to comment.