Reduce the number of concurrent builds
This commit is contained in:
parent
037768f531
commit
8ead3635c7
|
|
@ -89,7 +89,7 @@ var buildTarget = "compile"
|
|||
|
||||
foreach (var batch in batchedRepos)
|
||||
{
|
||||
Parallel.ForEach(batch, repo =>
|
||||
Parallel.ForEach(batch, new ParallelOptions { MaxDegreeOfParallelism = 2 }, repo =>
|
||||
{
|
||||
var blockName = string.Format("Building {0}", repo);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue