mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 06:59:44 +07:00
[qodana] QD-10403 Disable redundant vcs-log activity in Qodana. Qodana hangs because it; also we don't need it
Qodana doesn't use vcs platform UI infrastructure (cherry picked from commit 505e7f1c40f758f2933df7ed93652a12173d892b) IJ-CR-150476 GitOrigin-RevId: d68576503ae189d66030b924f3dffdd79f68b45c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3fca8d0790
commit
a41b33d70d
@@ -31,6 +31,7 @@ import com.intellij.openapi.vcs.VcsMappingListener
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
import com.intellij.platform.backend.observation.trackActivity
|
||||
import com.intellij.platform.ide.progress.withBackgroundProgress
|
||||
import com.intellij.util.PlatformUtils
|
||||
import com.intellij.util.awaitCancellationAndInvoke
|
||||
import com.intellij.util.concurrency.ThreadingAssertions
|
||||
import com.intellij.util.concurrency.annotations.RequiresBackgroundThread
|
||||
@@ -199,7 +200,7 @@ class VcsProjectLog(private val project: Project, @ApiStatus.Internal val corout
|
||||
}
|
||||
|
||||
private suspend fun createLogInternal(forceInit: Boolean): VcsLogManager? {
|
||||
if (isDisposing) return null
|
||||
if (isDisposing || PlatformUtils.isQodana()) return null
|
||||
|
||||
val projectLevelVcsManager = project.serviceAsync<ProjectLevelVcsManager>()
|
||||
val logProviders = VcsLogManager.findLogProviders(projectLevelVcsManager.allVcsRoots.toList(), project)
|
||||
|
||||
Reference in New Issue
Block a user