lexical-lsp / lexical

Lexical is a next-generation elixir language server
888 stars 82 forks source link

Server bottlenecks #825

Closed scohen closed 2 months ago

scohen commented 2 months ago

Fixed two bottlenecks in the server.

  1. The mix lock was using a much more contentious build lock rather than its own lock.
  2. Using Task.Supervisor.terminate_child was causing timeouts when bulk operations happen.