Closed StephenSorriaux closed 7 months ago
Fixes #722
time.time() is subject to changes in system local time and can trigger unexpected behavior. Prefer the use of time.monotonic instead of time.time since we are not making use of the actual time, only an amount of time elapsed.
time.time()
time.monotonic
time.time
time.monotonic()
No
Fixes #722
Why is this needed?
time.time()
is subject to changes in system local time and can trigger unexpected behavior. Prefer the use oftime.monotonic
instead oftime.time
since we are not making use of the actual time, only an amount of time elapsed.Proposed Changes
time.time()
withtime.monotonic()
Does this PR introduce any breaking change?
No