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
..
2023-03-10 17:51:04 -05:00
2022-12-15 17:39:21 -05:00
2022-08-15 16:40:32 -04:00
2023-03-06 20:39:36 -05:00