mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 11:56:53 +00:00
Add scan COUNT arguments and rate limits for queue scans
This commit is contained in:
1 parent
b55afdd704
commit
b4c594c657
5 files changed
+22
-6
No files matched your search
+2
-1
@@ -107,7 +107,8 @@ class MessagePersisterIntegrationTest {
|
||||
persistQueueScheduler,
|
||||
Clock.systemUTC(),
|
||||
PERSIST_DELAY,
|
||||
1);
|
||||
1,
|
||||
1024);
|
||||
|
||||
account = mock(Account.class);
|
||||
|
||||
|
||||
+1
@@ -140,6 +140,7 @@ class MessagePersisterTest {
|
||||
CLOCK,
|
||||
PERSIST_DELAY,
|
||||
1,
|
||||
1024,
|
||||
Retry.backoff(1, Duration.ZERO));
|
||||
|
||||
when(messagesManager.clear(any(UUID.class), anyByte())).thenReturn(CompletableFuture.completedFuture(null));
|
||||
|
||||
Reference in new issue
Block a user