That should probably be logged as a bug on SE.Redis rather than as a question here. It is not meant to do that unless you have have explicitly set AbortOnConnectFail
to false
(it defaults to true
).
As for how to detect it if a glitch exists:
- try a
Ping()
- use the
IsConnected
property onIServer
- use the
IsConnected(RedisKey)
method onIDatabase
(if you aren't using a cluster, you can passdefault(RedisKey)
to that method; on a cluster it is necessary to know which server you are talking about)