Decrease the page size for OPK queries
A single element is almost always enough
This commit is contained in:
parent
43a534f05b
commit
aafcd63a9f
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue