-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Every command takes 10+ seconds (including help) #2552
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Interestingly I had to go back all the way to version 2.4.4 to get a fast version. Starting from 2.4.5 every command has a delay of at least 10 sec, sometimes a multiple of that. Hopefully that rings a bell for some dev? :) Edit: Only the |
I would suspect the node version first. Try with the latest LTS version (20.9.0) of node (for an npm install) or use the CLI tarballs, which include the LTS version of node. You can run commands with debug output (append
It means that interactive commands need a timeout value or they could run forever (or until ctrl+c). In the case of partial command matching there is a timeout of 10s defined. |
Indeed, updating node solved it, thanks! |
I just installed the latest version of sf cli and every command I run takes at least 10 seconds. For example:
Also when entering a menu there is a timeout of 10000 ms, which almost assumes there is a wait for 10 sec on every command or something?
Steps To Reproduce
Run any command.
Expected result
Getting my cli back immediately after command is finished.
Actual result
Getting my cli back after 10+ secs.
System Information
Additional information
The text was updated successfully, but these errors were encountered: