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()
|
static IList<IGrouping<int, string>> GetBuildGraph()
|
||||||
{
|
{
|
||||||
var repositoryLookup = GetRepositoriesToBuild()
|
var repositoryLookup = new List<RepositoryInfo>();
|
||||||
.Select(RepoInfoFactory.Create)
|
|
||||||
.ToList();
|
Parallel.ForEach(GetRepositoriesToBuild(), repo =>
|
||||||
|
{
|
||||||
|
repositoryLookup.Add(RepoInfoFactory.Create(repo));
|
||||||
|
});
|
||||||
|
|
||||||
foreach (var info in repositoryLookup)
|
foreach (var info in repositoryLookup)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue