Decrease the page size for OPK queries

A single element is almost always enough
This commit is contained in:
Ravi Khadiwala authored and Jon Chambers committed 2025-05-20 11:21:20 -04:00
1 parent 43a534f05b
commit aafcd63a9f
1 file changed
+1
@@ -145,6 +145,7 @@ public abstract class SingleUsePreKeyStore<K extends PreKey<?>> {
":sortprefix", getSortKeyPrefix(deviceId)))
.projectionExpression(KEY_DEVICE_ID_KEY_ID)
.consistentRead(false)
.limit(1)
.build())
.items())
.map(item -> DeleteItemRequest.builder()