From d4cc917c3da5ec4f47dd24edcee9982227cec0f2 Mon Sep 17 00:00:00 2001 From: Morgan Bartholomew Date: Wed, 22 Jul 2026 23:04:40 +1000 Subject: [PATCH] PY-90711 lsp-tools: disable `PyLspToolAdvertiserStartupActivity` (cherry picked from commit 2e6c8d0f4e1c7d7e3732d6bb98432c223bba00b6) IJ-MR-214769 GitOrigin-RevId: c5260317e69a9fcdaf67baae6ac523caee8b4fc5 --- .../intellij/python/lsp/impl/PyLspToolAdvertiserService.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python/python-lsp-impl/src/com/intellij/python/lsp/impl/PyLspToolAdvertiserService.kt b/python/python-lsp-impl/src/com/intellij/python/lsp/impl/PyLspToolAdvertiserService.kt index a549a11cdd68..6ebce6bc7303 100644 --- a/python/python-lsp-impl/src/com/intellij/python/lsp/impl/PyLspToolAdvertiserService.kt +++ b/python/python-lsp-impl/src/com/intellij/python/lsp/impl/PyLspToolAdvertiserService.kt @@ -192,8 +192,9 @@ class PyLspToolAdvertiserService(private val project: Project, private val cs: C class PyLspToolAdvertiserStartupActivity : ProjectActivity { override suspend fun execute(project: Project) { - thisLogger().debug("PyLspToolAdvertiserStartupActivity: waiting 15s before first check") - delay(15.seconds) - PyLspToolAdvertiserService.getInstance(project).checkAndAdvertise() + return + //thisLogger().debug("PyLspToolAdvertiserStartupActivity: waiting 15s before first check") + //delay(15.seconds) + //PyLspToolAdvertiserService.getInstance(project).checkAndAdvertise() } }