4 ms·
You can use rename-command to help avoid these kinds of mistakes: # To disable: rename-command FLUSHALL "" # To rename: rename-command FLUSHALL DANGER
by js2 3y ago
You can use rename-command to help avoid these kinds of mistakes:
# To disable:
rename-command FLUSHALL ""
# To rename:
rename-command FLUSHALL DANGER_WILL_ROBINSON_FLUSH_ALL
- cik 3y agoInstead, use the redis acl commands to modify permissions you don't want executed by a user (i.e flushall, flushdb) as opposed to renaming commands.