-
-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a timeout on server replies #66
Comments
This is probably what I've been experiencing with several modes. Emacs appears to hang, but it's just an effect of the synchronous nature of the RPC implementation then I guess. |
The problem here is that lsp-mode is designed to plug into already existing emacs interfaces. As long as they're not asynchronous, we can't make lsp-mode async. However, a timeout is feasible. |
@vibhavp you can do it with some tricks like this s-kostyaev/ivy-erlang-complete@1dcb258 |
The current timeout value is 10 seconds. Is that fine, or should I further lower it? |
That is probably fine. The problem is that some commands (for haskell anyway) can potentially run for a long time. So some sort of async processing would be ideal. But let's see how this works out. After all, this should only be triggered if there is a problem on the server, in my experience. |
Fix typo's in readme.
At the moment the emacs UI hangs for as long as the server is processing a message.
This should preferable become async, or should have some means to interrupt, or timeout.
The text was updated successfully, but these errors were encountered: