mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 20:43:18 +00:00
[DS-3770] always uncache item after performed curation task for better performance
This commit is contained in:
@@ -86,7 +86,9 @@ public abstract class AbstractCurationTask implements CurationTask {
|
||||
if (Constants.COLLECTION == type) {
|
||||
Iterator<Item> iter = itemService.findByCollection(Curator.curationContext(), (Collection) dso);
|
||||
while (iter.hasNext()) {
|
||||
performObject(iter.next());
|
||||
Item item = iter.next();
|
||||
performObject(item);
|
||||
Curator.curationContext().uncacheEntity(item);
|
||||
}
|
||||
} else if (Constants.COMMUNITY == type) {
|
||||
Community comm = (Community) dso;
|
||||
|
Reference in New Issue
Block a user