Redis Unwatch Command
The Redis Unwatch command is used to cancel the monitoring of all keys by the WATCH command.
Syntax
The basic syntax of the redis Unwatch command is as follows:
redis 127.0.0.1:6379> UNWATCH
Available Versions
>= 2.2.0
Return Value
Always returns OK.
Examples
redis 127.0.0.1:6379> WATCH lock lock_times OK redis 127.0.0.1:6379> UNWATCH OK
Other Extensions