Skip to content

Commit 7a2f590

Browse files
committed
sleep
1 parent d1acb3d commit 7a2f590

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ruby_lsp/ruby_lsp_rails/runner_client.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def initialize
8080
at_exit do
8181
if @wait_thread.alive?
8282
$stderr.puts("Ruby LSP Rails is force killing the server")
83-
sleep(0.5) # give the server a bit of time if we already issued a shutdown notification
83+
# sleep(0.5) # give the server a bit of time if we already issued a shutdown notification
84+
sleep(3) # give the server a bit of time if we already issued a shutdown notification
8485
Process.kill(T.must(Signal.list["TERM"]), @wait_thread.pid)
8586
end
8687
end

0 commit comments

Comments
 (0)