ionelmc / python-redis-lock

Lock context manager implemented via redis SET NX EX and BLPOP.
https://pypi.python.org/pypi/python-redis-lock
BSD 2-Clause "Simplified" License
551 stars 77 forks source link

set lock_renewal_thread daemon property has a bug #116

Open zhjchina opened 5 months ago

zhjchina commented 5 months ago

in version v4.0.0, there is a bug: after create lock_renewal_thread thread, set demon = True,the word is wrong, not "demon", but "daemon",source code as follows self._lock_renewal_thread.demon = True

the right code as follows self._lock_renewal_thread.daemon = True