Skip to content

确实是可以的,我看成Mutex那个了,不好意思 #4

@hellomdk

Description

@hellomdk

可重入

if (redis.call('exists', KEYS[1]) == 0) then

续期
if (redis.call('hexists', KEYS[1], ARGV[2]) == 1) then

Originally posted by @cheerego in #3 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions