Fix batching issue that was causing duplication in large queries

This commit is contained in:
Ehren Kret
2022-06-20 12:41:10 -05:00
parent 023ccc6563
commit bf6d3aa324
2 changed files with 30 additions and 10 deletions

View File

@@ -357,7 +357,7 @@ public class ProfileController {
} catch (NoSuchAlgorithmException e) {
throw new AssertionError(e);
}
for (final BatchIdentityCheckRequest.Element element : request.elements()) {
for (final BatchIdentityCheckRequest.Element element : batch) {
checkFingerprintAndAdd(element, responseElements, sha256);
}
}, batchIdentityCheckExecutor);