Unverified Commit 4ae1bea3 authored by Oran Agra's avatar Oran Agra Committed by GitHub
Browse files

allow RESET during busy scripts (#8629)

same as DISCARD, this command (RESET) is about client state, not server state
parent b70d81f6
......@@ -4144,6 +4144,7 @@ int processCommand(client *c) {
c->cmd->proc != discardCommand &&
c->cmd->proc != watchCommand &&
c->cmd->proc != unwatchCommand &&
c->cmd->proc != resetCommand &&
!(c->cmd->proc == shutdownCommand &&
c->argc == 2 &&
tolower(((char*)c->argv[1]->ptr)[0]) == 'n') &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment