Open bogorad opened 2 years ago
Yes, in my case it is not always connected to Redis so a native way of checking if it is connected or not would be very useful. Also the catch node does not catch the exception which makes it strange.
+1
连接
+1 ,而且我发现没有配置密码的地方,我怀疑是因为没有输密码,所以报这个错误,因为我的redis配置了密码
More generally - is there a way to get notified on connection to Redis and disconnection from Redis?
For now, I'm sending PING command to Redis, with a timeout of 250ms, and checking if the status has changed. But a native solution would be great. Also, the error (subj) is distracting.