Unverified Commit 2c2c86f5 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Turbopack: run snapshot in normal task instead of blocking task (#82636)

### What?

Following the guideline that all CPU work should happen on a normal task.
parent 39f4d15f
......@@ -2172,7 +2172,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
}
let this = self.clone();
let snapshot = turbo_tasks::spawn_blocking(move || this.snapshot()).await;
let snapshot = this.snapshot();
if let Some((snapshot_start, new_data)) = snapshot {
last_snapshot = snapshot_start;
if new_data {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment