mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
allow RESET during busy scripts (#8629)
same as DISCARD, this command (RESET) is about client state, not server state
This commit is contained in:
@@ -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') &&
|
||||
|
||||
Reference in New Issue
Block a user