Skip to content
Commit d25d3896 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Make duration calculation robust against clock drift (#10042)

It is possible that `Instant::now()` is returning an earlier clock time when being called a second
time. To guard against this, we should use `saturating_duration_since`.
parent d7e07d4f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment