mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 01:38:04 +01:00
Decrease the page size for OPK queries
A single element is almost always enough
This commit is contained in:
committed by
Jon Chambers
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()
|
||||
|
||||
Reference in New Issue
Block a user