We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a93b8a9 commit 723cca1Copy full SHA for 723cca1
src/StackExchange.Redis/KeyNotification.cs
@@ -17,7 +17,7 @@ public static bool TryParse(in RedisChannel channel, in RedisValue value, out Ke
17
// validate that it looks reasonable
18
var span = channel.Span;
19
20
- const int PREFIX_LEN = KeySpaceStart.Length, MIN_LEN = PREFIX_LEN + MinSuffixBytes; // need "0__:x" or similar after prefix
+ const int PREFIX_LEN = KeySpaceStart.Length, MIN_LEN = PREFIX_LEN + MinSuffixBytes;
21
Debug.Assert(KeyEventStart.Length == PREFIX_LEN); // prove these are the same, DEBUG only
22
23
if (span.Length >= MIN_LEN)
0 commit comments