File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,9 +215,6 @@ package final actor SemanticIndexManager {
215215 if inProgressPreparationTasks. values. contains ( where: { $0. purpose == . forEditorFunctionality } ) {
216216 return . preparingFileForEditorFunctionality
217217 }
218- if !scheduleIndexingTasks. isEmpty {
219- return . schedulingIndexing
220- }
221218 let preparationTasks = inProgressPreparationTasks. mapValues { inProgressTask in
222219 return inProgressTask. task. isExecuting ? IndexTaskStatus . executing : IndexTaskStatus . scheduled
223220 }
@@ -230,6 +227,9 @@ package final actor SemanticIndexManager {
230227 }
231228 }
232229 if preparationTasks. isEmpty && indexTasks. isEmpty {
230+ if !scheduleIndexingTasks. isEmpty {
231+ return . schedulingIndexing
232+ }
233233 return . upToDate
234234 }
235235 return . indexing( preparationTasks: preparationTasks, indexTasks: indexTasks)
You can’t perform that action at this time.
0 commit comments