Skip to content

gevent friendly redis lock with extensive tests. thread-safe

Notifications You must be signed in to change notification settings

ledzep2/gredislock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRedisLock

Gevent Friendly Redis Lock with extensive tests

How it works?

from gredislock import GRedisLock

lock = GRedisLock(redis_instance, "lockname")

lock.acquire()
lock.release()

or

with GRedisLock(redis_instance, "lockname"):
    # do something

About

gevent friendly redis lock with extensive tests. thread-safe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages