feat(内存占用): 支持附件流式下载,降低大附件内存占用
build.yaml / build (push) Successful in 37s

This commit is contained in:
xiaoqidun committed 2026-09-14 16:15:47 +08:00
1 parent fb3a9e8148
commit 6525b01bab
4 files changed
+50 -15

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ self.onmessage = ({ data }) => {
exports.get(data.id)?.abort();
return;
}
if (data.name === "ofdgoExportPage" || data.name === "ofdgoExportDocument") {
if (data.name === "ofdgoExportPage" || data.name === "ofdgoExportDocument" || data.name === "ofdgoExportAttachment") {
exports.set(data.id, new AbortController());
}
pending = pending.then(() => handleMessage(data));