We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rdb := redis.NewClusterClient(&redis.ClusterOptions{ Addrs: []string{"192.168.200.11:7001", "localhost:7002", "localhost:7003"}, PoolSize: 1000, PoolTimeout: 2 * time.Minute, IdleTimeout: 10 * time.Minute, ReadTimeout: 2 * time.Minute, WriteTimeout: 1 * time.Minute, }) _, err := rdb.Ping(context.Background()).Result() if err != nil { panic(err) }
The text was updated successfully, but these errors were encountered:
大兄弟,你issue提错地方了吧…,这是Java项目; 另外,你只贴了个go-redis连接的代码,也不给个报错信息,我咋帮你排查错误啊= =;
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: