new RedisCluster

用RedisCluster方案

https://pecl.php.net/package/redis

https://github.com/JetBrains/phpstorm-stubs/blob/master/redis/RedisCluster.php

 

new RedisCluster($name, $seeds, $timeout = null, $readTimeout = null, $persistent = false, $auth = null) { }

 

posted @ 2020-05-08 10:30  jking10  阅读(...)  评论(...编辑  收藏