Resolve the build graph in parallel
This commit is contained in:
parent
6eca0806af
commit
1b47ceffad
|
|
@ -894,9 +894,12 @@ functions
|
|||
|
||||
static IList<IGrouping<int, string>> GetBuildGraph()
|
||||
{
|
||||
var repositoryLookup = GetRepositoriesToBuild()
|
||||
.Select(RepoInfoFactory.Create)
|
||||
.ToList();
|
||||
var repositoryLookup = new List<RepositoryInfo>();
|
||||
|
||||
Parallel.ForEach(GetRepositoriesToBuild(), repo =>
|
||||
{
|
||||
repositoryLookup.Add(RepoInfoFactory.Create(repo));
|
||||
});
|
||||
|
||||
foreach (var info in repositoryLookup)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue