Skip to content

Commit

Permalink
Fixed breaking out of main loop in listURLs
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Klock <[email protected]>
  • Loading branch information
klockla committed Sep 17, 2024
1 parent 095433d commit 92466f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ public void listURLs(
Iterator<Entry<QueueWithinCrawl, QueueInterface>> qiterator =
getQueues().entrySet().iterator();

while (qiterator.hasNext()) {
while (qiterator.hasNext() && sentCount < maxURLs) {
Entry<QueueWithinCrawl, QueueInterface> e = qiterator.next();

// check that it is within the right crawlID
Expand Down

0 comments on commit 92466f6

Please sign in to comment.