🔧
This commit is contained in:
@@ -63,9 +63,7 @@ class PhpRedisConnector implements Connector
|
||||
*/
|
||||
protected function buildClusterConnectionString(array $server)
|
||||
{
|
||||
return $this->formatHost($server).':'.$server['port'].'?'.Arr::query(Arr::only($server, [
|
||||
'database', 'password', 'prefix', 'read_timeout',
|
||||
]));
|
||||
return $this->formatHost($server).':'.$server['port'];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -199,10 +197,6 @@ class PhpRedisConnector implements Connector
|
||||
$client->setOption(RedisCluster::OPT_SLAVE_FAILOVER, $options['failover']);
|
||||
}
|
||||
|
||||
if (! empty($options['name'])) {
|
||||
$client->client('SETNAME', $options['name']);
|
||||
}
|
||||
|
||||
if (array_key_exists('serializer', $options)) {
|
||||
$client->setOption(Redis::OPT_SERIALIZER, $options['serializer']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user