Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
4ae1bea3
Unverified
Commit
4ae1bea3
authored
Mar 11, 2021
by
Oran Agra
Committed by
GitHub
Mar 11, 2021
Browse files
allow RESET during busy scripts (#8629)
same as DISCARD, this command (RESET) is about client state, not server state
parent
b70d81f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
4ae1bea3
...
...
@@ -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') &&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment