summaryrefslogtreecommitdiff
path: root/redis/lock.py
Commit message (Expand)AuthorAgeFilesLines
* Added black and isort (#1734)Anas2021-11-301-29/+26
* Improve documentation about Lock (#1701)Jeremy Mayeres2021-11-141-4/+4
* Remove blocking behaviour from context manager __enter__alxasfuck2021-05-121-3/+1
* 🕰️ Use monotonic clock in Lock (and tests)Jack Edge2020-10-121-2/+2
* Remove support for end-of-life Python 2.7 (#1318)Jon Dufresne2020-08-061-3/+7
* Lock.extend() can now replace the lock's existing TTL with a new valuelaixintao2020-03-241-14/+34
* Optimize sleeping while blocking for a lockColas Le Guernic2020-02-241-3/+2
* Lock objects now support specifying token values and ownership checkingAndy McCurdy2019-01-021-2/+24
* Add `.reacquire()` method to LockIhor Kalnytskyi2018-12-281-0/+36
* rename new LockErrorNotOwned to LockNotOwnedErrorAndy McCurdy2018-12-031-3/+3
* Extend lock error for not owned special caseJoshua Harlow2018-12-031-3/+5
* Update .locked() to indicate if lock has been acquired by any procesesAndy McCurdy2018-11-151-2/+4
* add locked() method to lock objectAndy McCurdy2018-11-141-0/+4
* raise a LockError when the context manager fails to acquire a lockv3-breaking-changesAndy McCurdy2018-11-141-2/+3
* only support LuaLock going forwardAndy McCurdy2018-11-141-92/+50
* Use unicode literals throughout projectJon Dufresne2018-11-031-2/+1
* "while 1" --> "while True"Jeff Widman2018-10-111-1/+1
* Removing do_acquire from lualock as there is no gain over default do_acquireRobert Kopaczewski2014-12-111-24/+0
* Fix lua lockingRobert Kopaczewski2014-12-101-8/+4
* Atomic redis.set when acquiring a lockRobert Kopaczewski2014-12-101-9/+15
* Lock.acquire() to respect blocking_timeout argumentGrant Cox2014-06-191-2/+2
* more info on thread local storageAndy McCurdy2014-06-161-4/+25
* restore default Lock token storage, add toggle to make it thread-localwil paredes2014-06-061-2/+9
* move Lock.token attribute into thread-local storagewil paredes2014-06-051-8/+10
* Lock.release(): reorder code to avoid token overwritewil paredes2014-06-051-9/+7
* add a lock implementation using Lua scripts.Andy McCurdy2014-06-011-8/+94
* updated Lock class:Andy McCurdy2014-06-011-0/+158