Remove the usage of Parallel to run the populators
(cherry picked from commit b078f856b9)
This commit is contained in:
committed by
Sebastiaan Janssen
parent
a88a5a0cae
commit
b8d6ef64c7
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user