Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed May 3, 2024
1 parent 8a7abac commit 6fe7479
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/re_query/src/range/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/rerun-io/rerun/issues/5686>.
{
let time_range = cache.per_data_time.read_recursive().time_range();
Expand All @@ -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);
}
Expand All @@ -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);
}
Expand Down

0 comments on commit 6fe7479

Please sign in to comment.