diff --git a/src/Engines/RedisEngine.php b/src/Engines/RedisEngine.php index 62b9a5d..53ef65f 100644 --- a/src/Engines/RedisEngine.php +++ b/src/Engines/RedisEngine.php @@ -60,6 +60,7 @@ public function loadConfig(array $config) $redisHost = $this->config['redis_host']; $redisPort = $this->config['redis_port']; + $redisOptions = $this->config['redis_options'] ?? null; $redisScheme = $this->config['redis_scheme'] ?? "tcp"; $redisPassword = $this->config['redis_password'] ?? null; $redisSSLOptions = $this->config['redis_ssl_options'] ?? null; @@ -70,8 +71,7 @@ public function loadConfig(array $config) 'port' => $redisPort, 'password' => $redisPassword, 'ssl' => $redisSSLOptions - ]); - + ], $redisOptions); } public function createIndex($indexName)