We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82510e7 commit 5f0af37Copy full SHA for 5f0af37
1 file changed
src/StackExchange.Redis/PhysicalConnection.Read.cs
@@ -414,7 +414,7 @@ static bool TryMoveNextString(ref RespReader reader)
414
415
// special-case the configuration change broadcasts (we don't keep that in the usual pub/sub registry)
416
var configChanged = muxer.ConfigurationChangedChannel;
417
- if (configChanged != null && reader.Prefix is RespPrefix.BulkString or RespPrefix.SimpleString && reader.Is(configChanged))
+ if (configChanged != null && reader.Prefix is RespPrefix.BulkString or RespPrefix.SimpleString && subscriptionChannel.Span.SequenceEqual(configChanged))
418
{
419
EndPoint? blame = null;
420
try
0 commit comments