-
Notifications
You must be signed in to change notification settings - Fork 862
fix: correct concurrency to align with documentation #2014
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
fix: correct concurrency to align with documentation #2014
Conversation
Thanks for the fix @andrecloutier and thanks for the added tests! Got any thoughts on this feature @andrecloutier ? I've been on the fence for years on this feature. It requires some amount of plumbing and documentation. asdf core has to properly read the config and set the |
This feature to me reminds me of MAKEOPTS in Gentoo Linux where its useful to set compile settings globally at the OS/Package Manager level. In some cases, you may want to set it to the number of cores to just get the compile done as fast as possible, in some other cases, you want a more conservative number so that the computer is still usable. So I could see some utility here that folks may want to control how many resources compiling their dependencies will take. The code to support this isn't crazy so I don't feel too bad about keeping it. Especially as we're trying to stabilize the transition from the bash version to go. But, I also haven't been maintaining this project for years. ;) |
Yes good point. I've already been pushing the limits of what users will tolerate with the breaking changes introduced in v0.16.x. Probably best to continue supporting this feature. Thanks again for the fix @andrecloutier ! |
Summary
Prior to this change:
Fixes: asdf-vm/asdf-nodejs#409
Other Information