Skip to content

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

Open
alexelshamouty wants to merge 1 commit intoserverless:mainfrom
alexelshamouty:main
Open

Adds support for overriding the concurrency used in the packaging#13044
alexelshamouty wants to merge 1 commit intoserverless:mainfrom
alexelshamouty:main

Conversation

@alexelshamouty
Copy link
Copy Markdown

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}

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 30, 2025

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

@alexelshamouty
Copy link
Copy Markdown
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