summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2022-06-14 08:48:08 +0300
committerGitHub <noreply@github.com>2022-06-14 08:48:08 +0300
commitffa007704122a3e4947252f3dbbef3e2be4b6033 (patch)
tree4f86af75b772b9d43accf0013d438e7137c1b152 /src/commands
parentc65e5087e8e88104f7cdd640aa9d1af0737561a3 (diff)
downloadredis-ffa007704122a3e4947252f3dbbef3e2be4b6033.tar.gz
Allow ECHO in loading and stale modes (#10853)
I noticed that scripting.tcl uses INFO from within a script and thought it's an overkill and concluded it's nicer to use another CMD_STALE command, decided to use ECHO, and then noticed it's not at all allowed in stale mode. probably overlooked at #6843
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/echo.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/echo.json b/src/commands/echo.json
index a641bd35d..f38d10bc5 100644
--- a/src/commands/echo.json
+++ b/src/commands/echo.json
@@ -7,6 +7,8 @@
"arity": 2,
"function": "echoCommand",
"command_flags": [
+ "LOADING",
+ "STALE",
"FAST"
],
"acl_categories": [