-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: send DISCARD command when conn recycled #580
Conversation
@rueian Can you please take a look? |
Co-authored-by: Rueian <rueiancsie@gmail.com>
pipe_test.go
Outdated
@@ -4129,6 +4129,11 @@ func TestPipe_CleanSubscriptions_6(t *testing.T) { | |||
{typ: '+', string: "punsubscribe"}, | |||
{typ: '_'}, | |||
{typ: ':', integer: 2}, | |||
}}, | |||
RedisMessage{typ: '>', values: []RedisMessage{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SoulPancake, I found this reply is incorrect. DISCARD should reply a OK message instead of a push message.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, Addressed @rueian
Fixes - #579