Deduplicate entry freshness filesystem work

This commit is contained in:
udo
2026-07-18 06:16:49 +00:00
parent 556025a779
commit f745ce9413
4 changed files with 32 additions and 7 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ static bool wasm_artifact_exists(Request* context, const String& entry_unit)
// metadata mismatches, which can leave stale wasm with old imports.
bool source_missing = false;
phase_started = time_precise();
if(compiler_unit_needs_recompile(context, entry_unit, &source_missing))
if(compiler_unit_needs_recompile(context, entry_unit, &source_missing, false, true))
{
context->stats.wasm_ready_freshness_us += (u64)((time_precise() - phase_started) * 1000000.0);
compiler_prioritize_unit(context, entry_unit);