fix(core): Delete binary data parent folder when pruning executions (#11790)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-11-19 14:24:13 +01:00
committed by GitHub
parent 91f9390b90
commit 17ef2c63f6
2 changed files with 16 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ export class FileSystemManager implements BinaryData.Manager {
// binary files stored in nested dirs - `filesystem-v2`
const binaryDataDirs = ids.map(({ workflowId, executionId }) =>
this.resolvePath(`workflows/${workflowId}/executions/${executionId}/binary_data/`),
this.resolvePath(`workflows/${workflowId}/executions/${executionId}`),
);
await Promise.all(