mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-15 21:15:59 +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;
|
return;
|
||||||
}
|
}
|
||||||
chargeAmount = this.assignChargeAmount(lastScrapped, count);
|
chargeAmount = this.assignChargeAmount(lastScrapped, count);
|
||||||
|
|
||||||
|
this.assignTokenUsage(lastScrapped, chargeAmount, crawlWithoutContent);
|
||||||
rpcReflect.return(lastScrapped);
|
rpcReflect.return(lastScrapped);
|
||||||
earlyReturn = true;
|
earlyReturn = true;
|
||||||
}, ((crawlerOptions.timeout || 0) * 1000) || this.reasonableDelayMs);
|
}, ((crawlerOptions.timeout || 0) * 1000) || this.reasonableDelayMs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user