Skip to content

Commit

Permalink
Fixing query size with >=.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Jan 21, 2025
1 parent b58b3fe commit bfb6b7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public String sample() throws Exception {
queries.merge(ubiQuery.getUserQuery(), 1L, Long::sum);

// Will be useful for paging once implemented.
if(queries.size() > parameters.getQuerySetSize()) {
if(queries.size() >= parameters.getQuerySetSize()) {
break;
}

Expand Down

0 comments on commit bfb6b7f

Please sign in to comment.