DivestOS/Scripts/Common
steadfasterX b3bef085f8
allow to specify thread counts (sync,build)
when DOS_MAX_THREADS_REPO and/or DOS_MAX_THREADS_BUILD are defined
in init.sh they will be used. otherwise the max threads are calculated
based on the cpu cores count.

if that calculation fails (depends on nproc) a default fallback of:

- 4 is used for repo sync (which reflects the current state for repo sync)
- `<empty>` is used for make - which yields to no limitation (which reflects the current state for mka / make)

to avoid issues regarding being rate limited a max value for repo sync processes
will overwrite DOS_MAX_THREADS_REPO when set greater than MAX_THREADS_REPO_RATE (8).

Signed-off-by: steadfasterX <steadfasterX@gmail.com>
2023-03-31 21:00:01 +02:00
..
Copy_Keys.sh More handling improvements 2023-03-08 16:14:51 -05:00
Deblob.sh Churn 2023-03-22 16:23:26 -04:00
Defaults.sh Fixes 2023-02-01 18:30:29 -05:00
Enable_Verity.sh Robustness improvements 2023-03-08 01:14:06 -05:00
Fix_CVE_Patchers.sh Churn 2023-03-18 20:52:59 -04:00
Functions.sh allow to specify thread counts (sync,build) 2023-03-31 21:00:01 +02:00
Optimize.sh 20.0: Initial bringup 2022-10-15 10:39:48 -04:00
Patch_CVE.sh Don't bail when devices are missing 2023-03-07 23:41:27 -05:00
Post.sh Robustness improvements 2023-03-08 01:14:06 -05:00
Shell.sh More fixes 2021-10-16 22:57:43 -04:00
Tag_Verifier.sh Updates, logging, and churn 2023-03-31 12:38:46 -04:00