Skip to content

Commit

Permalink
chore(commands): fix comment in takeLock
Browse files Browse the repository at this point in the history
  • Loading branch information
dobesv authored Sep 27, 2021
1 parent 8981898 commit c2194fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/takeLock-1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
ARGV[2] lock duration in milliseconds
Output:
"OK" if lock extented succesfully.
"OK" if lock taken successfully.
]]
if redis.call("SET", KEYS[1], ARGV[1], "NX", "PX", ARGV[2]) then
return 1
Expand Down

0 comments on commit c2194fe

Please sign in to comment.