mirror of
https://github.com/predis/predis.git
synced 2026-09-13 11:57:02 +00:00
Fix README.
[ci skip]
This commit is contained in:
@@ -201,7 +201,7 @@ the `service` option set to the name of the service:
|
||||
|
||||
```php
|
||||
$sentinels = ['tcp://10.0.0.1', 'tcp://10.0.0.2', 'tcp://10.0.0.3'];
|
||||
$options = ['replication' => 'redis-sentinel', 'service' => 'mymaster'];
|
||||
$options = ['replication' => 'sentinel', 'service' => 'mymaster'];
|
||||
|
||||
$client = new Predis\Client($sentinels, $options);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user