Redis Unwatch command
Redis Unwatch command is used to cancel WATCH command to monitor all of the key.
grammar
redis Unwatch basic command syntax 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