Fix batching issue that was causing duplication in large queries

This commit is contained in:
Ehren Kret committed 2022-06-20 12:41:10 -05:00
1 parent 023ccc6563
commit bf6d3aa324
2 files changed
+30 -10

No files matched your search

@@ -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);