Skip to content

Commit

Permalink
confirm that V8 code cache is the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Jul 28, 2024
1 parent ce5d5cb commit 154e7cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/module_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ impl<TGraphContainer: ModuleGraphContainer>
return Err(generic_error("Attempted to load JSON module without specifying \"type\": \"json\" attribute in the import statement."));
}

// let code_cache = None;
let code_cache = if module_type == ModuleType::JavaScript {
self.shared.code_cache.as_ref().map(|cache| {
let code_hash = FastInsecureHasher::new_deno_versioned()
Expand Down

0 comments on commit 154e7cf

Please sign in to comment.