You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose there were several hosts and ports of the redis server, like
10.0.1.1:6381
10.0.1.1:6382
10.0.1.2:6381
10.0.1.2:6382
how can I configure the redux::hiredis()?
I have google around but can't find a solution. And I noticed that there was a note on db parameter of the redis_config with "Do not use in a redis clustering context.", so I inspect that this was a way to connect to a cluster. In addition, I have also try to pass a redis://10.0.1.1:6381,10.0.1.1:6382,10.0.1.2:6381,10.0.1.2:6382 to the url parameter, but still failed.
Any suggestions?
The text was updated successfully, but these errors were encountered:
I'm completely unclear what the issues involved here are I'm afraid but can look into it. From the look of this repo by the redis/hiredis author this is a nontrivial task though
Suppose there were several hosts and ports of the redis server, like
10.0.1.1:6381
10.0.1.1:6382
10.0.1.2:6381
10.0.1.2:6382
how can I configure the
redux::hiredis()
?I have google around but can't find a solution. And I noticed that there was a note on
db
parameter of theredis_config
with "Do not use in a redis clustering context.", so I inspect that this was a way to connect to a cluster. In addition, I have also try to pass aredis://10.0.1.1:6381,10.0.1.1:6382,10.0.1.2:6381,10.0.1.2:6382
to theurl
parameter, but still failed.Any suggestions?
The text was updated successfully, but these errors were encountered: