py-sherlock / sherlock

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

fix: expire parameter interpreted as string #74

Open Sygmei opened 12 months ago

Sygmei commented 12 months ago

All parameters are sent as string, as we are doing an integer comparison, we need to cast the value before performing the check.