Skip to content

Commit

Permalink
cluster support
Browse files Browse the repository at this point in the history
  • Loading branch information
nticaric committed Jul 19, 2023
1 parent ce23b70 commit d3fc3e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engines/RedisEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -70,8 +71,7 @@ public function loadConfig(array $config)
'port' => $redisPort,
'password' => $redisPassword,
'ssl' => $redisSSLOptions
]);

], $redisOptions);
}

public function createIndex($indexName)
Expand Down

0 comments on commit d3fc3e7

Please sign in to comment.