mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-01-09 22:49:30 -05:00
b3bef085f8
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> |
||
---|---|---|
.. | ||
CVE_Patchers | ||
Functions.sh | ||
Patch.sh | ||
Rebrand.sh |