Redis Script kill command
Redis Script kill command to kill the Lua script currently running, if and only if the script does not perform any write operation, the command takes effect.
This command is used to terminate a script running too long, such as a script because BUG infinite loop occurs.
After SCRIPT KILL executed, the current running script will be killed, executed this script client from blocking EVAL command them quit, and you receive an error as the return value.
grammar
redis Script kill command basic syntax is as follows:
redis 127.0.0.1:6379> SCRIPT KILL
Available versions
> = 2.6.0
return value
Always returns OK
Examples
redis 127.0.0.1:6379> SCRIPT KILL OK