Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I connect to a redis Cluster #20

Open
henrywood opened this issue Feb 11, 2024 · 0 comments
Open

How can I connect to a redis Cluster #20

henrywood opened this issue Feb 11, 2024 · 0 comments

Comments

@henrywood
Copy link

Hi !

Can somebody show me how to make a Connection Pool implementation that connects to PhpRedis Cluster ?
Let's say I have these Redis Cluster nodes:

192.168.10.11, 192.168.10.12 and 192.168.10.13.
192.168.10.11 is the master

I am using Swoole 5.0.1

Do I need to call \Swoole::enableCoroutine(); ?

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant