From a46c75da632f0d123f9e766ab60d1e591dfd130e Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 22 Oct 2024 21:08:03 +0200 Subject: [PATCH] fix: reduce LSP timeout to 3 seconds --- src/LSP.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LSP.zig b/src/LSP.zig index 73cc119..89625ba 100644 --- a/src/LSP.zig +++ b/src/LSP.zig @@ -12,7 +12,7 @@ const Self = @This(); const module_name = @typeName(Self); const sp_tag = "child"; const debug_lsp = true; -const lsp_request_timeout = std.time.ns_per_s * 30; +const lsp_request_timeout = std.time.ns_per_s * 3; const OutOfMemoryError = error{OutOfMemory}; const SendError = error{SendFailed};