influxdb/cache_system
Marco Neumann edf77c73d8
fix: avoid panic when clock goes backwards (#8322)
I've seen at least one case in prod where the UTC clock goes backwards.
The `TimeProvider` and `Time` interface even warns about that. However
there was a `Sub` impl that would panic if that happens and even though
this was documented, I think we can do better and just not offer a
panicky interface at all.

So this removes the `Sub` impl. and replaces all uses with
`checked_duration_since`.
2023-07-24 12:10:41 +00:00
..
benches refactor: avoid double-hash when updating addressable heap orders (#5577) 2022-09-08 11:50:55 +00:00
src fix: avoid panic when clock goes backwards (#8322) 2023-07-24 12:10:41 +00:00
Cargo.toml chore(deps): Bump async-trait from 0.1.71 to 0.1.72 (#8317) 2023-07-24 10:07:18 +00:00