Hello, i've noticed that you are using time.time() function to track timeouts for Lock/Unlock. According to docs it can return a lower value than a previous call and result in false positive timeout passing. For example when you change timezone or DST. i would suggest to use time.monotonic() which always returns non-decreasing values.
Hello, i've noticed that you are using time.time() function to track timeouts for Lock/Unlock. According to docs it can return a lower value than a previous call and result in false positive timeout passing. For example when you change timezone or DST. i would suggest to use time.monotonic() which always returns non-decreasing values.
https://github.com/joanvila/aioredlock/pull/80