Skip to content

Commit 5f0af37

Browse files
committed
- fix reconfigure detection
1 parent 82510e7 commit 5f0af37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/StackExchange.Redis/PhysicalConnection.Read.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ static bool TryMoveNextString(ref RespReader reader)
414414

415415
// special-case the configuration change broadcasts (we don't keep that in the usual pub/sub registry)
416416
var configChanged = muxer.ConfigurationChangedChannel;
417-
if (configChanged != null && reader.Prefix is RespPrefix.BulkString or RespPrefix.SimpleString && reader.Is(configChanged))
417+
if (configChanged != null && reader.Prefix is RespPrefix.BulkString or RespPrefix.SimpleString && subscriptionChannel.Span.SequenceEqual(configChanged))
418418
{
419419
EndPoint? blame = null;
420420
try

0 commit comments

Comments
 (0)