Skip to content

Add Support to 'SCRIPT KILL' Command #2158

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

Closed

Conversation

shacharPash
Copy link
Contributor

@shacharPash shacharPash commented Jun 15, 2022

link to the command: https://redis.io/commands/script-kill/
part of #2055

/// <param name="flags">The command flags to use.</param>
/// <returns>Simple string reply.</returns>
/// <remarks><seealso href="https://redis.io/commands/script-kill/"/></remarks>
void ScriptKill(CommandFlags flags = CommandFlags.None);
Copy link
Collaborator

Choose a reason for hiding this comment

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

FWIW, I would expect a string response based on the docs - is that not the case here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I deleted the line from the documentation, I looked at the similar command: 'ScriptFlush' and there it was done this way.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@shacharPash Sorry should have been clearer: I meant in the Redis server documentation, it returns a string so we should return it here :)

@mgravell
Copy link
Collaborator

mgravell commented Jun 17, 2022 via email

@NickCraver
Copy link
Collaborator

Since this doesn't make sense on a multiplexed connection, we're going to close this on out - it'd just almost never do what users expect. We can revisit this with connection pooling but it doesn't make sense the way connections work today.

@NickCraver NickCraver closed this Jul 26, 2022
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.

3 participants