void (@NotNull ProgressIndicator indicator) { if (project.isDisposed()) { return; } //final PerformanceWatcher.Snapshot snapshot = PerformanceWatcher.takeSnapshot(); indicator.setIndeterminate(true); indicator.setText(IndexingBundle.message("progress.indexing.scanning")); final List<Runnable> tasks = ReadAction.compute(() -> getRootUpdateTasks(project, moduleSdks)); PushedFilePropertiesUpdater.getInstance(project).runConcurrentlyIfPossible(tasks); //if (!ApplicationManager.getApplication().isUnitTestMode()) { // snapshot.logResponsivenessSinceCreation("Pushing Python language level to " + tasks.size() + " roots in " + sdks.size() + // " SDKs"); //} }