SCRIPT KILL

    Time complexity: O(1)

    This command is mainly useful to kill a script that is running for too much time(for instance because it entered an infinite loop because of a bug). The script will be killed and the client currently blocked into EVAL will see the command returning with an error.

    Please refer to the documentation for detailed information about Redis Lua scripting.