bbangert / beaker

WSGI middleware for sessions and caching
https://beaker.readthedocs.org/
Other
517 stars 146 forks source link

Fix: A true way to set redis expire time #164

Closed nikan1996 closed 6 years ago

nikan1996 commented 6 years ago

Set value and expire flag is atomic now. Otherwise in my system, when a lock value is set, but my system restart before the lock value is given the expire time, the lock will be a deadlock.