Use PX instead of EX in extend script (fixes bug where expiry time is < 1 second) when redis key isn't present when extend timer fires. Fix InvalidCastException in similar situation (issue #7).
Use PX instead of EX in extend script (fixes bug where expiry time is < 1 second) when redis key isn't present when extend timer fires.
Fix InvalidCastException in similar situation (issue #7).

samcook/RedLock.net