Extension becomes a CPU hog
vthemelis opened this issue · comments
Description
The extension calls git commands that can take a very long time (eg more than a day) and keep them running. This shows as a large amount of git
processes running on the background each using 100% of the CPU.
Could we add timeouts to these?
What triggered this for me was checking out a huge repo with a tree filter and then blaming a file:
# Clone huge repository with a filter
git clone --filter tree:0 https://github.com/DefinitelyTyped/DefinitelyTyped
and then blame a few files with the extension to reproduce.
Can we add a timeout to git commands?
GitLens Version
15.0.3
VS Code Version
No response
Git Version
No response
Logs, Screenshots, Screen Captures, etc
No response