Commit c189c8f
committed
Adds support for overriding the concurrency used in the packaging
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.1 parent 1003a32 commit c189c8f
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | | - | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
0 commit comments