vscode-openshift-tools
vscode-openshift-tools copied to clipboard
`await ComponentTypesView.instance.getAllComponents();` takes a long time on Windows
In extension.ts
, we call await ComponentTypesView.instance.getAllComponents();
. On Windows, this call takes a long time (much worse than on Linux), usually over a minute for me. Since this blocks the extension starting, the OpenShift sidebar is stuck loading for a while.
We should look into improving the performance of this command, and consider deferring it until after the extension has started, if possible.