We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 967ec28 commit 3c60bf0Copy full SHA for 3c60bf0
1 file changed
packages/opencode/src/lsp/client.ts
@@ -13,6 +13,8 @@ import { withTimeout } from "../util/timeout"
13
import { Instance } from "../project/instance"
14
import { Filesystem } from "../util/filesystem"
15
16
+const DIAGNOSTICS_DEBOUNCE_MS = 150
17
+
18
export namespace LSPClient {
19
const log = Log.create({ service: "lsp.client" })
20
@@ -199,7 +201,7 @@ export namespace LSPClient {
199
201
log.info("got diagnostics", { path: normalizedPath })
200
202
unsub?.()
203
resolve()
- }, 150)
204
+ }, DIAGNOSTICS_DEBOUNCE_MS)
205
}
206
})
207
}),
0 commit comments