This repository has been archived by the owner on Apr 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 552
One disconnected instance effect to another instance at multi thread. #188
Comments
I am investigating this issue. The sample code is below.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I create two client to connect two redis server with pthread.
If a instance disconnected with server problem, another instance also blocked.
I think it is strange result, I expect another instance keep to work.
The test code is below.
I expect the client1 keep to ping to 6379, but the bot client1/2 is stopped.
The output log is below
As you see, the client1 failed to ping... But the redis-server of 6379 for client1 is alive.
Is this bug or specification of cpp_redis?
Additionally, I used below cmake for build, and my environment is OSX(High sierra).
The redis-server is installed with homebrew.
The text was updated successfully, but these errors were encountered: