未验证 提交 a865eb5f 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #31927 from JoeRobich/fix-too-many-files

Set the ulimit higher to avoid too many open files when running build.sh
......@@ -214,6 +214,12 @@ function BuildSolution {
enable_analyzers=false
fi
# NuGet often exceeds the limit of open files on Mac and Linux
# https://github.com/NuGet/Home/issues/2163
if [[ "$UNAME" == "Darwin" || "$UNAME" == "Linux" ]]; then
ulimit -n 6500
fi
local quiet_restore=""
if [[ "$ci" != true ]]; then
quiet_restore=true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册