Skip to content

Commit 0afc2bb

Browse files
authored
[#60] Fix RedisCluster.ConfigManager going down during setup shards (#61)
1 parent aa85a2e commit 0afc2bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/nebulex_redis_adapter/redis_cluster/config_manager.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,11 @@ defmodule NebulexRedisAdapter.RedisCluster.ConfigManager do
232232
end
233233

234234
defp connect(conn_opts) do
235+
conn_opts =
236+
conn_opts
237+
|> Keyword.delete(:sync_connect)
238+
|> Keyword.delete(:exit_on_disconnection)
239+
235240
case Keyword.pop(conn_opts, :url) do
236241
{nil, conn_opts} ->
237242
with {:ok, conn} <- Redix.start_link(conn_opts) do

0 commit comments

Comments
 (0)