mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-15 20:45:57 +08:00
chore: reduce fetch count in search
This commit is contained in:
parent
e529369ba6
commit
e4ef6cb0f9
@ -168,7 +168,7 @@ export class SearcherHost extends RPCHost {
|
||||
const searchQuery = braveSearchExplicitOperators.addTo(ctx.req.path.slice(1));
|
||||
const r = await this.cachedWebSearch({
|
||||
q: searchQuery,
|
||||
count: Math.floor(count * 2)
|
||||
count: Math.floor(count + 2)
|
||||
}, crawlerOptions.noCache);
|
||||
|
||||
if (!r.web?.results.length) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user