mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-2408: Limit by the count of Change Set instead by the number of ACLs contained in the Change Set batch.
This commit is contained in:
+1
-1
@@ -758,7 +758,7 @@ public class AclTracker extends ActivatableTracker
|
||||
Collection<List<AclChangeSet>> changeSetBatches = aclChangeSets.getAclChangeSets().stream()
|
||||
.peek(changeSetsFound::add)
|
||||
.filter(this::isAclChangeSetAlreadyIndexed)
|
||||
.collect(Collectors.groupingBy(it -> counter.getAndAdd(it.getAclCount()) / changeSetAclsBatchSize))
|
||||
.collect(Collectors.groupingBy(it -> counter.getAndAdd(1) / changeSetAclsBatchSize))
|
||||
.values();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user