From 811a408d0702407e69a278f33e907cb0a5ad2b56 Mon Sep 17 00:00:00 2001 From: Myroslav Date: Wed, 17 Jul 2024 18:04:09 +0200 Subject: [PATCH] Removed an outdated comment This comment has been incorrect since #1706. --- src/main/kotlin/com/sourcegraph/cody/agent/CodyAgent.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/kotlin/com/sourcegraph/cody/agent/CodyAgent.kt b/src/main/kotlin/com/sourcegraph/cody/agent/CodyAgent.kt index 857af4afc9..e0de965613 100644 --- a/src/main/kotlin/com/sourcegraph/cody/agent/CodyAgent.kt +++ b/src/main/kotlin/com/sourcegraph/cody/agent/CodyAgent.kt @@ -91,10 +91,6 @@ private constructor( private val PLUGIN_ID = PluginId.getId("com.sourcegraph.jetbrains") private const val DEFAULT_AGENT_DEBUG_PORT = 3113 // Also defined in agent/src/cli/jsonrpc.ts - // We are running all calls single threaded to ensure correctness of all actions, especially - // context synchronization. - // That can lead to a deadlocks if we try to do a `withAgent` call inside a `withAgent` call, so - // we need to be careful. @JvmField val executorService: ExecutorService = Executors.newCachedThreadPool() private fun shouldSpawnDebuggableAgent() = System.getenv("CODY_AGENT_DEBUG_INSPECT") == "true"