diff --git a/src/main/kotlin/com/intellij/plugin/powershell/lang/lsp/languagehost/EditorServicesLanguageHostStarter.kt b/src/main/kotlin/com/intellij/plugin/powershell/lang/lsp/languagehost/EditorServicesLanguageHostStarter.kt index 438465ed..5dcee643 100644 --- a/src/main/kotlin/com/intellij/plugin/powershell/lang/lsp/languagehost/EditorServicesLanguageHostStarter.kt +++ b/src/main/kotlin/com/intellij/plugin/powershell/lang/lsp/languagehost/EditorServicesLanguageHostStarter.kt @@ -378,8 +378,8 @@ open class EditorServicesLanguageHostStarter(protected val myProject: Project) : } private suspend fun waitForSessionFile(fileWithSessionInfo: File): Boolean { - var tries = 25 - val waitTimeoutMillis = 500L + var tries = 120 + val waitTimeoutMillis = 500L // the total timeout is about 1 minute try { while (!fileWithSessionInfo.exists() && tries > 0) { tries--