Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp/cache: treat load timeouts as critical errors
Lower the timeout for the go command to 10 minutes. Also, if the first workspace load attempt fails because it times out, treat the timeout as a critical error, since we explicitly don't cancel the first workspace load. Fixes golang/go#46859 Change-Id: Iccd26509177e4c47ca4b2c8ab4111df9be0f934e Reviewed-on: https://go-review.googlesource.com/c/tools/+/330969 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
- Loading branch information