Add scan COUNT arguments and rate limits for queue scans

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2026-03-13 18:20:51 -04:00
1 parent b55afdd704
commit b4c594c657
5 files changed
+22 -6

No files matched your search

@@ -107,7 +107,8 @@ class MessagePersisterIntegrationTest {
persistQueueScheduler,
Clock.systemUTC(),
PERSIST_DELAY,
1);
1,
1024);
account = mock(Account.class);
@@ -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));