From 6fce23c54ec619168eee096fc7bf801d0cec0cb6 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 8 Aug 2024 11:41:30 +0200 Subject: perf: skip saving to emit cache after first failure (#24896) --- cli/graph_util.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/graph_util.rs') diff --git a/cli/graph_util.rs b/cli/graph_util.rs index 77d086fa8..647307bd9 100644 --- a/cli/graph_util.rs +++ b/cli/graph_util.rs @@ -364,7 +364,7 @@ pub struct ModuleGraphBuilder { parsed_source_cache: Arc, lockfile: Option>, maybe_file_watcher_reporter: Option, - emit_cache: cache::EmitCache, + emit_cache: Arc, file_fetcher: Arc, global_http_cache: Arc, } @@ -381,7 +381,7 @@ impl ModuleGraphBuilder { parsed_source_cache: Arc, lockfile: Option>, maybe_file_watcher_reporter: Option, - emit_cache: cache::EmitCache, + emit_cache: Arc, file_fetcher: Arc, global_http_cache: Arc, ) -> Self { -- cgit v1.2.3