Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
leif stawnyczy committed Nov 28, 2024
1 parent fcd9399 commit 3f70507
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2513,9 +2513,14 @@ private void fetchNext() {
// if we're not using the database to deduplicate
// we should recheck our memory usage
// the prefetch size check is future proofing
int prefetchSize = myStorageSettings.getSearchPreFetchThresholds().size();
int prefetchSize = myStorageSettings
.getSearchPreFetchThresholds()
.size();
if (prefetchSize > 0) {
if (myStorageSettings.getSearchPreFetchThresholds().get(prefetchSize - 1) < mySearchProperties.getMaxResultsRequested()) {
if (myStorageSettings
.getSearchPreFetchThresholds()
.get(prefetchSize - 1)
< mySearchProperties.getMaxResultsRequested()) {
mySearchProperties.setDeduplicateInDBFlag(true);
}
}
Expand Down

0 comments on commit 3f70507

Please sign in to comment.