We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04176f4 commit a8cf650Copy full SHA for a8cf650
includes/class-predis.php
@@ -86,6 +86,11 @@ public function connect( $read_timeout = null ) {
86
$servers = $this->build_cluster_connection_array();
87
$parameters['cluster'] = $servers;
88
$options['cluster'] = 'redis';
89
+ if ( defined('WP_REDIS_SCHEME') ) {
90
+ $options['parameters'] = [
91
+ 'scheme' => WP_REDIS_SCHEME,
92
+ ];
93
+ }
94
}
95
96
if ( strcasecmp( 'unix', $parameters['scheme'] ) === 0 ) {
0 commit comments