From 563914b9329c546ebd4da3de4e39ff8482a04ff2 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Fri, 18 Sep 2026 20:33:16 -0400 Subject: [PATCH] Spell the projector cache's idle period in minutes The nightly clippy gate denies a Duration built from a smaller unit than it reads in. Co-Authored-By: Claude Fable 5.1 --- lib/components/fabro-petri/src/projector/cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/fabro-petri/src/projector/cache.rs b/lib/components/fabro-petri/src/projector/cache.rs index 39f242f17..3791b0ced 100644 --- a/lib/components/fabro-petri/src/projector/cache.rs +++ b/lib/components/fabro-petri/src/projector/cache.rs @@ -27,7 +27,7 @@ use crate::projection::RunView; /// How long a run's cache is kept after its last pass. A run blocked on a /// question for longer pays one full replay when its next record lands. -pub(super) const IDLE: Duration = Duration::from_secs(10 * 60); +pub(super) const IDLE: Duration = Duration::from_mins(10); /// One live run's cache. pub(super) struct RunCache {