Skip to content

Adds support for overriding the concurrency used in the packaging #13044

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexelshamouty
Copy link

process
via the SLS_PACKAGE_CONCURRENCY environment variable.

Defaults to os.cpus().length if not set.
Benefits:

  • Solve problems running sls in termux and proot environments on android. os.cpus() returns an empty list when running in proot and makes running the framework very difficult for deployments
  • Allows better control over system resource usage in constrained environments.

Closes: #{ISSUE_NUMBER}

Copy link

github-actions bot commented Mar 30, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@alexelshamouty
Copy link
Author

I have read the CLA Document and I hereby sign the CLA.

@alexelshamouty alexelshamouty marked this pull request as draft March 30, 2025 17:12
@alexelshamouty alexelshamouty marked this pull request as ready for review March 30, 2025 17:12
process
via the SLS_PACKAGE_CONCURRENCY environment variable.

Defaults to os.cpus().length if not set.
Benefits:
- Solve problems running sls in termux and proot environments on
  android. os.cpus() returns an empty list when running in proot and
makes running the framework very difficult for deployments
- Allows better control over system resource usage in constrained environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant