diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-08-08 11:41:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-08 09:41:30 +0000 |
commit | 6fce23c54ec619168eee096fc7bf801d0cec0cb6 (patch) | |
tree | 211d715cf75817a09c63e6dad943d6623eef67f1 /cli/graph_util.rs | |
parent | 93d479252b5a18e6e782c74b808240bd3ef036bd (diff) |
perf: skip saving to emit cache after first failure (#24896)
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r-- | cli/graph_util.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<ParsedSourceCache>, lockfile: Option<Arc<CliLockfile>>, maybe_file_watcher_reporter: Option<FileWatcherReporter>, - emit_cache: cache::EmitCache, + emit_cache: Arc<cache::EmitCache>, file_fetcher: Arc<FileFetcher>, global_http_cache: Arc<GlobalHttpCache>, } @@ -381,7 +381,7 @@ impl ModuleGraphBuilder { parsed_source_cache: Arc<ParsedSourceCache>, lockfile: Option<Arc<CliLockfile>>, maybe_file_watcher_reporter: Option<FileWatcherReporter>, - emit_cache: cache::EmitCache, + emit_cache: Arc<cache::EmitCache>, file_fetcher: Arc<FileFetcher>, global_http_cache: Arc<GlobalHttpCache>, ) -> Self { |