Skip to content
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

Merged
merged 5 commits into from
Jun 27, 2024

Conversation

SoulPancake
Copy link
Contributor

Fixes - #579

@SoulPancake
Copy link
Contributor Author

@rueian Can you please take a look?

Co-authored-by: Rueian <rueiancsie@gmail.com>
@SoulPancake SoulPancake requested a review from rueian June 25, 2024 18:31
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{
Copy link
Collaborator

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, Addressed @rueian

@SoulPancake SoulPancake requested a review from rueian June 26, 2024 13:04
@rueian rueian merged commit 45cdf7e into redis:main Jun 27, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants