From 6fe7479bcbcb1aaf7f77961dbd3123935d8a75ea Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Fri, 3 May 2024 09:27:28 +0200 Subject: [PATCH] review --- crates/re_query/src/range/query.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/re_query/src/range/query.rs b/crates/re_query/src/range/query.rs index 3a3cf65c82bea..00c2b0bd9353c 100644 --- a/crates/re_query/src/range/query.rs +++ b/crates/re_query/src/range/query.rs @@ -60,7 +60,7 @@ impl Caches { // query #2 \_______/ // query #3 // - // and coarsly invalidates the whole range in that case, to avoid the kind of bugs + // and coarsly invalidates the whole cache in that case, to avoid the kind of bugs // showcased in . { let time_range = cache.per_data_time.read_recursive().time_range(); @@ -76,7 +76,7 @@ impl Caches { component_name, &[component_name], ) { - if data_time != hole_start { + if data_time > hole_start { re_log::trace!(%entity_path, %component_name, "coarsely invalidated because of bridged queries"); cache.pending_invalidation = Some(TimeInt::MIN); } @@ -95,7 +95,7 @@ impl Caches { component_name, &[component_name], ) { - if data_time != hole_start { + if data_time > hole_start { re_log::trace!(%entity_path, %component_name, "coarsely invalidated because of bridged queries"); cache.pending_invalidation = Some(TimeInt::MIN); }