File tree Expand file tree Collapse file tree
turbopack/crates/turbo-tasks-backend/src/backend Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -873,10 +873,10 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
873873 // Having a task_pair here is not optimal, but otherwise this would lead to a race
874874 // condition. See below.
875875 // TODO(sokra): solve that in a more performant way.
876- let ( task, reader) = ctx. task_pair ( task_id, reader_id, TaskDataCategory :: All ) ;
876+ let ( task, reader) = ctx. task_pair ( task_id, reader_id, TaskDataCategory :: Data ) ;
877877 ( task, Some ( reader) )
878878 } else {
879- ( ctx. task ( task_id, TaskDataCategory :: All ) , None )
879+ ( ctx. task ( task_id, TaskDataCategory :: Data ) , None )
880880 } ;
881881
882882 let content = if final_read_hint {
@@ -979,7 +979,9 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
979979 TaskExecutionReason :: CellNotAvailable ,
980980 || self . get_task_desc_fn ( task_id) ,
981981 ) ) ;
982- ctx. schedule_task ( task, TaskPriority :: Initial ) ;
982+ drop ( task) ;
983+
984+ ctx. schedule ( task_id, TaskPriority :: Initial ) ;
983985
984986 Ok ( Err ( listener) )
985987 }
You can’t perform that action at this time.
0 commit comments