Commit 0be51f49 authored by Nick Craver's avatar Nick Craver

Revert "This moves us back to GetGridge() working"

This reverts commit 61f9c3a8.
parent 61f9c3a8
......@@ -247,13 +247,12 @@ internal void KeepAlive()
msg.SetSource(ResultProcessor.Tracer, null);
break;
case ConnectionType.Subscription:
//if (commandMap.IsAvailable(RedisCommand.PING) && features.PingOnSubscriber)
//{
// msg = Message.Create(-1, CommandFlags.FireAndForget, RedisCommand.PING);
// msg.SetSource(ResultProcessor.Tracer, null);
//}
//else
if (commandMap.IsAvailable(RedisCommand.UNSUBSCRIBE))
if (commandMap.IsAvailable(RedisCommand.PING) && features.PingOnSubscriber)
{
msg = Message.Create(-1, CommandFlags.FireAndForget, RedisCommand.PING);
msg.SetSource(ResultProcessor.Tracer, null);
}
else if (commandMap.IsAvailable(RedisCommand.UNSUBSCRIBE))
{
msg = Message.Create(-1, CommandFlags.FireAndForget, RedisCommand.UNSUBSCRIBE,
(RedisChannel)Guid.NewGuid().ToByteArray());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment