emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.04k stars 139 forks source link

too many cancel requests #483

Closed dmakarov closed 4 years ago

dmakarov commented 4 years ago

lsp-ui-sideline sends many cancel requests https://github.com/emacs-lsp/lsp-ui/blob/e49780e41d33b73882453f25675324aa4bebc9d0/lsp-ui-sideline.el#L478 On pyls this has a dramatic effect of slowing down Emacs to a complete halt when actively editing a python source file. Most of these requests are actually processed and warnings are generated for such cancelations that an unknown message id is requested to be canceled. Can this performance problem be solved?

sebastiencs commented 4 years ago

Fixed with https://github.com/emacs-lsp/lsp-ui/pull/490