-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Hi Marc,
I am having a weird behavior about the re-subscribtion in case of connection issues to Redis.
My test is pretty simple, after connecting to Redis, I am subscribing to a channel. Then I publish some messages and I can see that those messages have been received on the subscriber and the publisher also returned me a value of 1 (for 1 subscriber).
Then I restart Redis and the ConnectionMultiplexer fires well the events ConnectionFailed and ConnectionRestored. Just after the connection is restored, I publish a message, but nothing is happening on the Subscriber's callback/action but my publisher still return a value of 1. After one minute or so, I publish another message and this time the Publisher return me a value of 2 and the Subscriber's callback/action is fire once only.
I had tried also with a simple ping just after ConnectionRestored and it failed.
I am using StackExchange.Redis V2.0.519.
Is there anything I am missing while calling ConnectionMultiplexer.Connect(ConnectionString)? The connection string is straight forward without any options