fix(common): The expiry duration of TtlValue is 1 day

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille
2026-04-22 09:48:19 +02:00
committed by Andy Balaam
parent 696d1cacbe
commit 1a170ddf90
+1 -1
View File
@@ -147,7 +147,7 @@ pub struct TtlValue<T> {
impl<T> TtlValue<T> {
/// The number of milliseconds after which the data is considered stale.
///
/// This matches 7 days.
/// This matches 1 day.
pub const STALE_THRESHOLD: f64 = (1000 * 60 * 60 * 24) as _;
/// Construct a new `TtlValue` with the given data.