vseloved / cl-redis

Redis client for Common Lisp
Other
188 stars 38 forks source link

CL-REDIS constant WARN Reconnection to Redis #36

Closed diegogub closed 3 years ago

diegogub commented 3 years ago

Hello,

I have this constant warn popping from time to time.. There is not clear reason.. The error for the connection to go down is:

couldn't read from #<SB-SYS:FD-STREAM for "socket 127.0.0 Connection reset by peer
[Condition of type SB-INT:SIMPLE-STREAM-ERROR]

For example this, does not work as expected:

(loop for i from 1 to 100000 do (redis:with-persistent-connection () (red:incr "test")))

Am I doing something wrong handling the connection?

UPDATE: Tried the same with redis but not using docker and it's working perfectly..So I guess it's not a problem with this library..

Thanks