From e6c3942ed3b976315d8c4e5df1a0369525142da7 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Thu, 23 Oct 2025 17:16:13 -0700 Subject: [PATCH] artifact_cache: keep access points that we're waiting for up-to-date, even if we don't get the result, so that they are not prematurely cancelled. --- src/artifact_cache/artifact_cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/artifact_cache/artifact_cache.c b/src/artifact_cache/artifact_cache.c index a284c3df..679a50fe 100644 --- a/src/artifact_cache/artifact_cache.c +++ b/src/artifact_cache/artifact_cache.c @@ -141,9 +141,9 @@ ac_artifact_from_key_(Access *access, String8 key, AC_ArtifactParams *params, U6 node->key = str8_copy(stripe->arena, key); node->working_count = 1; node->evict_threshold_us = params->evict_threshold_us; - node->access_pt.last_time_touched_us = os_now_microseconds(); - node->access_pt.last_update_idx_touched = update_tick_idx(); } + node->access_pt.last_time_touched_us = os_now_microseconds(); + node->access_pt.last_update_idx_touched = update_tick_idx(); // rjf: request if(need_request)