longer time-out for url fetching .. may help to show all that links that the statistic say for a search result

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6727 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent 9e639603e3
commit 57e1eae95e

@ -210,7 +210,7 @@ public class DocumentIndex extends Segment {
ArrayList<URIMetadataRow> result = new ArrayList<URIMetadataRow>(); ArrayList<URIMetadataRow> result = new ArrayList<URIMetadataRow>();
URIMetadataRow r; URIMetadataRow r;
while ((r = rankedCache.takeURL(false, 1)) != null) result.add(r); while ((r = rankedCache.takeURL(false, 100)) != null) result.add(r);
return result; return result;
} }

@ -183,7 +183,7 @@ public final class SearchEvent {
} }
// start worker threads to fetch urls and snippets // start worker threads to fetch urls and snippets
this.results = new ResultFetcher(rankedCache, query, peers, 10); this.results = new ResultFetcher(rankedCache, query, peers, 300);
} }
// clean up events // clean up events

Loading…
Cancel
Save