Repository navigation
附件文件最大 10MB - #112
Merged
Merged
附件文件最大 10MB#112
Conversation
很大的附件会撑满网站 512MB 的内存,也占库和备份的空间;抓取节点原来要把整个文件下载下来才看大小,每天重抓时还要再下一遍,对源站也不友好。 - 抓取节点下载附件读到 10MB 就停,照样列出名称和网址,文字留空 - 网站上传附件的接口只收 10MB 以内的文件,其他接口照旧 50MB - 浏览器抓的网站由 Playwright 整个读完,靠它的超时限住
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联
部署内测前的准备,见路线图 #2。
改了什么
很大的附件会撑满网站 512MB 的内存,也占库和备份的空间;抓取节点原来要把整个文件下载下来才看大小,项目没截止时每天重抓,又要再下一遍,对源站也不友好。
Fetcher.get改成流式读,带上限),照样列出名称和网址,文字留空,不上传怎么验证的
crawler/的./check.sh、web/的pnpm check全部通过影响
PUT /crawler/snapshots/{id}/attachments/{position}超过 10MB 回 413