mirror of
https://github.com/yacy/yacy_search_server.git
synced 2026-10-25 05:54:15 +00:00
Merge pull request #783 from songproducer/improve/late-page-quality
fix: scale nodeStack capacity with query offset so late pages aren't …
This commit is contained in:
1 file changed
+1
-1
@@ -354,7 +354,7 @@ public final class SearchEvent implements ScoreMapUpdatesListener {
|
||||
this.imagePageCounter = query.offset;
|
||||
}
|
||||
this.loader = loader;
|
||||
this.nodeStack = new WeakPriorityBlockingQueue<>(max_results_node, false);
|
||||
this.nodeStack = new WeakPriorityBlockingQueue<>(max_results_node + (query != null ? query.offset + query.itemsPerPage() : 0), false);
|
||||
this.maxExpectedRemoteReferences = new AtomicInteger(0);
|
||||
this.expectedRemoteReferences = new AtomicInteger(0);
|
||||
this.excludeintext_image = Switchboard.getSwitchboard().getConfigBool("search.excludeintext.image", true);
|
||||
|
||||
Reference in new issue
Block a user