1
xiazhengtongxue
3 天以前 0b201eb98881f4381893c9765b530fa5d19e41ea
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_RedisService/Connection/RedisConnectionManager.cs
@@ -82,6 +82,8 @@
        public IServer GetServer()
        {
            var endpoints = _connection.Value.GetEndPoints();
            if (endpoints == null || endpoints.Length == 0)
                throw new InvalidOperationException("Redis没有可用的终结点,请检查连接配置");
            return _connection.Value.GetServer(endpoints[0]);
        }