mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-14 06:16:02 +08:00
fix: some response could miss meta field (#1165)
This commit is contained in:
parent
9415c6a2be
commit
f1aed656b7
@ -237,6 +237,8 @@ export class SearcherHost extends RPCHost {
|
||||
return;
|
||||
}
|
||||
chargeAmount = this.assignChargeAmount(lastScrapped, count);
|
||||
|
||||
this.assignTokenUsage(lastScrapped, chargeAmount, crawlWithoutContent);
|
||||
rpcReflect.return(lastScrapped);
|
||||
earlyReturn = true;
|
||||
}, ((crawlerOptions.timeout || 0) * 1000) || this.reasonableDelayMs);
|
||||
|
Loading…
x
Reference in New Issue
Block a user