且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

这是不可能连接到redis的服务器(S);以创建断开连接多路复用器

更新时间:2021-11-14 15:58:17

你所得到的错误通常是你没有设置标志abortConnect = FALSE 在你的连接字符串。为的 abortConnect 的默认值是的真正的,这使得它,这样的 StackExchange.Redis 的不会在某些情况下重新连接到服务器自动。我们强烈建议您设置的 abortConnect = FALSE 的连接字符串中,这样的 SE.Redis 的将在后台自动重新连接如果发生网络昙花一现。

The error you are getting is usually a sign that you have not set abortConnect=false in your connection string. The default value for abortConnect is true, which makes it so that StackExchange.Redis won't reconnect to the server automatically under some conditions. We strongly recommend that you set abortConnect=false in your connection string so that SE.Redis will auto-reconnect in the background if a network blip occurs.