Remove the usage of Parallel to run the populators

(cherry picked from commit b078f856b9)
This commit is contained in:
Shannon
2020-07-02 15:36:15 +10:00
committed by Sebastiaan Janssen
parent a88a5a0cae
commit b8d6ef64c7
+5 -2
View File
@@ -50,8 +50,11 @@ namespace Umbraco.Examine
index.CreateIndex(); // clear the index
}
//run the populators in parallel against all indexes
Parallel.ForEach(_populators, populator => populator.Populate(indexes));
// run each populator over the indexes
foreach(var populator in _populators)
{
populator.Populate(indexes);
}
}
}