File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -879,9 +879,9 @@ def pack_command(self, *args):
879
879
args = tuple (args [0 ].split ()) + args [1 :]
880
880
881
881
# `COMMAND GETKEYS` can crash redis server entirely under certain conditions.
882
- # So we have decided to make sure that `COMMAND GETKEYS` is never sent to the server.
883
- # If you need to send `COMMAND GETKEYS` to the server, please reach out to Doogie
884
- # and Zach to discuss the use case.
882
+ # So we have decided to make sure that `COMMAND GETKEYS` is never sent to the
883
+ # server. If you need to send `COMMAND GETKEYS` to the server, please reach out
884
+ # to Doogie and Zach to discuss the use case.
885
885
# ref: https://github.com/redis/redis/pull/12380
886
886
if len (args ) > 1 and args [0 ].lower () == b'command' and args [1 ].lower ().startswith (b'getkeys' ):
887
887
raise Exception (f'Redis command "{ args [0 ].decode ()} { args [1 ].decode ()} " is not supported' )
You can’t perform that action at this time.
0 commit comments