Skip to content

Commit

Permalink
fix(server): should drop blob steam if not used (#9103)
Browse files Browse the repository at this point in the history
  • Loading branch information
forehalo authored Dec 11, 2024
1 parent 4eb3144 commit 671c41c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/server/src/core/storage/wrappers/blob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export class WorkspaceBlobStorage {
if (!meta) {
const blob = await this.get(workspaceId, key);
meta = blob.metadata;
blob.body?.destroy();
}

if (meta) {
Expand Down

0 comments on commit 671c41c

Please sign in to comment.