diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-04-08 22:56:21 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2017-04-11 15:22:46 +0300 |
commit | b56dc49eec94bbb9b0e26aa3d16582c3590029d6 (patch) | |
tree | a976abcc6f43414095e7e80aa4f18a6738558569 /cluster.markdown | |
parent | d5a2da83b7ce934616c78893fa9bca7dabae6a5e (diff) |
Processing `read_timeout` parameter + update docs
Diffstat (limited to 'cluster.markdown')
-rw-r--r-- | cluster.markdown | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cluster.markdown b/cluster.markdown index 2ba3ee06..336fcc49 100644 --- a/cluster.markdown +++ b/cluster.markdown @@ -13,15 +13,11 @@ To maintain consistency with the RedisArray class, one can create and connect to $obj_cluster = new RedisCluster(NULL, Array('host:7000', 'host:7001', 'host:7003')); // Connect and specify timeout and read_timeout -$obj_cluster = new RedisCluster( - NULL, Array("host:7000", "host:7001"), 1.5, 1.5 -); +$obj_cluster = new RedisCluster(NULL, Array("host:7000", "host:7001"), 1.5, 1.5); // Connect with read/write timeout as well as specify that phpredis should use // persistent connections to each node. -$obj_cluster = new RedisCluster( - NULL, Array("host:7000", "host:7001"), 1.5, 1.5, true -); +$obj_cluster = new RedisCluster(NULL, Array("host:7000", "host:7001"), 1.5, 1.5, true); </pre> |