mirror of
https://github.com/predis/predis.git
synced 2026-09-18 22:38:42 +00:00
Fix snippet for replication in README.
[ci skip]
This commit is contained in:
@@ -223,7 +223,7 @@ to `master`) and one or more servers acting as slaves:
|
||||
|
||||
```php
|
||||
$parameters = ['tcp://10.0.0.1?alias=master', 'tcp://10.0.0.2', 'tcp://10.0.0.3'];
|
||||
$options = ['replication' => true];
|
||||
$options = ['replication' => 'predis'];
|
||||
|
||||
$client = new Predis\Client($parameters, $options);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user