[PR #13281] fix(opencode): increase LSP diagnostics timeout to 10s #14592

Open
opened 2026-02-16 18:19:22 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13281

State: open
Merged: No


What does this PR do?

Found out that the 3s timeout for LSP diagnostics is a bit too short for ESLint. It usually takes around 4-5s to spin up and send the first set of issues, so it was basically timing out and getting empty results for no reason. I bumped it to 10s which should be plenty.

How did you verify your code works?

I mocked a slow server that takes 4s to respond... worked fine with the 10s limit whereas the old code just gave up.

Fixes #13272

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13281 **State:** open **Merged:** No --- ### What does this PR do? Found out that the 3s timeout for LSP diagnostics is a bit too short for ESLint. It usually takes around 4-5s to spin up and send the first set of issues, so it was basically timing out and getting empty results for no reason. I bumped it to 10s which should be plenty. ### How did you verify your code works? I mocked a slow server that takes 4s to respond... worked fine with the 10s limit whereas the old code just gave up. Fixes #13272
yindo added the pull-request label 2026-02-16 18:19:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14592