Skip to content

Commit de1da5b

Browse files
committed
remove redundant code
1 parent 029db3d commit de1da5b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/StackExchange.Redis/RedisSubscriber.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,6 @@ internal long EnsureSubscriptions(CommandFlags flags = CommandFlags.None)
145145
return count;
146146
}
147147

148-
internal void EnsureSubscription(Subscription sub, in RedisChannel channel, CommandFlags flags)
149-
{
150-
if (!sub.IsConnected)
151-
{
152-
DefaultSubscriber.EnsureSubscribedToServer(sub, channel, flags, true);
153-
}
154-
}
155-
156148
internal enum SubscriptionAction
157149
{
158150
Subscribe,

0 commit comments

Comments
 (0)