py-sherlock / sherlock

Easy distributed locks for Python with a choice of backends.
MIT License
374 stars 35 forks source link

If no expiration is set on locks, don't expire them #37

Closed aausch closed 1 year ago

aausch commented 4 years ago

probably the expected behavior when expiration values are not set, is for Locks to last until they're released?

Currently they're immediately expired (i.e. not set at all), and this change makes sure they're set to last forever

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at ?% when pulling 9962a4fff9c16cddf8f1520ca48f43a24c7bcb5a on aausch:patch-1 into 77742ba91a24f75ee62e1895809901bde018654f on vaidik:master.