fix(server): should drop blob steam if not used (#9103)

This commit is contained in:
liuyi 2024-12-11 17:59:59 +08:00 committed by GitHub
parent 4eb31444a9
commit 671c41cb1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,6 +144,7 @@ export class WorkspaceBlobStorage {
if (!meta) {
const blob = await this.get(workspaceId, key);
meta = blob.metadata;
blob.body?.destroy();
}
if (meta) {