File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
turbopack/crates/turbo-tasks-backend/src/backend/operation Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -601,18 +601,18 @@ impl AggregationUpdateQueue {
601601 }
602602 }
603603 if is_aggregating_node ( get_aggregation_number ( & task) ) {
604- // TODO if it has an `AggregateRoot` we can skip visiting the nested nodes since
604+ // if it has an `AggregateRoot` we can skip visiting the nested nodes since
605605 // this would already be scheduled by the `AggregateRoot`
606606 if !task. has_key ( & CachedDataItemKey :: AggregateRoot { } ) {
607607 task. insert ( CachedDataItem :: AggregateRoot {
608608 value : RootState :: new ( ActiveType :: CachedActiveUntilClean , task_id) ,
609609 } ) ;
610- }
611- let dirty_containers : Vec < _ > = get_many ! ( task , AggregatedDirtyContainer { task } count if count . get ( session_id ) > 0 => * task ) ;
612- if !dirty_containers . is_empty ( ) {
613- self . push ( AggregationUpdateJob :: FindAndScheduleDirty {
614- task_ids : dirty_containers ,
615- } ) ;
610+ let dirty_containers : Vec < _ > = get_many ! ( task , AggregatedDirtyContainer { task } count if count . get ( session_id ) > 0 => * task ) ;
611+ if !dirty_containers . is_empty ( ) {
612+ self . push ( AggregationUpdateJob :: FindAndScheduleDirty {
613+ task_ids : dirty_containers ,
614+ } ) ;
615+ }
616616 }
617617 }
618618 }
You can’t perform that action at this time.
0 commit comments