ruby-lsp icon indicating copy to clipboard operation
ruby-lsp copied to clipboard

100% CPU usage, circular dependency on indexer

Open sequielo opened this issue 10 months ago • 0 comments

https://github.com/Shopify/ruby-lsp/blob/7eb2eb7830636259335dd0c86f89834fbdcba430/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#L230-L239

The variable excluded is iterated and modified at the same time, producing a circular loop.

This can be fixed by renaming the original excluded to something different.

sequielo avatar Jan 21 '26 22:01 sequielo