fix(server): should drop blob steam if not used (#9103)
This commit is contained in:
@@ -144,6 +144,7 @@ export class WorkspaceBlobStorage {
|
|||||||
if (!meta) {
|
if (!meta) {
|
||||||
const blob = await this.get(workspaceId, key);
|
const blob = await this.get(workspaceId, key);
|
||||||
meta = blob.metadata;
|
meta = blob.metadata;
|
||||||
|
blob.body?.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (meta) {
|
if (meta) {
|
||||||
|
|||||||
Reference in New Issue
Block a user