Closed danields761 closed 1 year ago
Hello @folke,
I've created a pull request to fix a bug where Neovim chews up 100% of a CPU core when it encounters an invalid configuration.
The bug seems to be in edgy.util.with_retry, where it doesn't increase the retries variable, causing endless loops of retries and high CPU usage.
edgy.util.with_retry
retries
I've committed a fix. This should properly deal with invalid configurations and prevent Neovim from overloading the CPU.
Hope this helps out. Happy to chat more if needed!
Cheers, Daniil
Thanks!
Hello @folke,
I've created a pull request to fix a bug where Neovim chews up 100% of a CPU core when it encounters an invalid configuration.
The bug seems to be in
edgy.util.with_retry
, where it doesn't increase theretries
variable, causing endless loops of retries and high CPU usage.I've committed a fix. This should properly deal with invalid configurations and prevent Neovim from overloading the CPU.
Hope this helps out. Happy to chat more if needed!
Cheers, Daniil