• Radoslav Kirilov's avatar
    fix(worker): cpu cores detection using sh and default to 4 · b1a053bb
    由 Radoslav Kirilov 提交于
    In case bash is missing from the system the `cpu_cores.sh` fails with an
    error and returns empty string resulting in command like
    `make -j BUILDTYPE=Release -C out` that uses unlimited jobs and could
    lead to signifficant CPU and RAM usage during build
    
    The cpu_cores.sh is now changed to using `sh` instead of `bash`, so it
    should be more portable. Additionally if the cpu detection fails the
    jobs default to 4, that should be safe enough.
    b1a053bb
名称
最后提交
最后更新
..
deps 正在载入提交数据...
fuzzer 正在载入提交数据...
include 正在载入提交数据...
scripts 正在载入提交数据...
src 正在载入提交数据...
test 正在载入提交数据...
.clang-format 正在载入提交数据...
.clang-tidy 正在载入提交数据...
Dockerfile 正在载入提交数据...
Makefile 正在载入提交数据...
common.gypi 正在载入提交数据...
compile_commands_template.json 正在载入提交数据...
fips.gypi 正在载入提交数据...
mediasoup-worker.gyp 正在载入提交数据...