Deduplicate entry freshness filesystem work
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user