allow RESET during busy scripts (#8629)
same as DISCARD, this command (RESET) is about client state, not server state
This commit is contained in:
parent
b70d81f60b
commit
4ae1bea323
@ -4144,6 +4144,7 @@ int processCommand(client *c) {
|
|||||||
c->cmd->proc != discardCommand &&
|
c->cmd->proc != discardCommand &&
|
||||||
c->cmd->proc != watchCommand &&
|
c->cmd->proc != watchCommand &&
|
||||||
c->cmd->proc != unwatchCommand &&
|
c->cmd->proc != unwatchCommand &&
|
||||||
|
c->cmd->proc != resetCommand &&
|
||||||
!(c->cmd->proc == shutdownCommand &&
|
!(c->cmd->proc == shutdownCommand &&
|
||||||
c->argc == 2 &&
|
c->argc == 2 &&
|
||||||
tolower(((char*)c->argv[1]->ptr)[0]) == 'n') &&
|
tolower(((char*)c->argv[1]->ptr)[0]) == 'n') &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user