Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
372 views
in Technique[技术] by (71.8m points)

Redis读写分离相关超时问题

,公司的redis使用了一主一从两哨兵,同事说本地测试从的那台不需启动,但是如果不启动,我在读取redis缓存的时候报错read timeout,请问该从redis是否要启动
image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

这个应该和你本地测试配置文件有关系. 不用某台机器,把配置的地址去掉就可以了


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...