- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
22 lines
436 B
JavaScript
22 lines
436 B
JavaScript
const content = `--[[
|
|
Release lock
|
|
Input:
|
|
KEYS[1] 'lock',
|
|
ARGV[1] token
|
|
ARGV[2] lock duration in milliseconds
|
|
Output:
|
|
"OK" if lock extented succesfully.
|
|
]]
|
|
local rcall = redis.call
|
|
if rcall("GET", KEYS[1]) == ARGV[1] then
|
|
return rcall("DEL", KEYS[1])
|
|
else
|
|
return 0
|
|
end
|
|
`;
|
|
export const releaseLock = {
|
|
name: 'releaseLock',
|
|
content,
|
|
keys: 1,
|
|
};
|
|
//# sourceMappingURL=releaseLock-1.js.map
|