refactor(core): Make pruning via lifecycle configuration in S3 mode mandatory (#7482)

Since we do not store which executions produced binary data, for pruning
on S3 we need to query for binary data items for each execution in order
to delete them. To minimize requests to S3, allow the user to skip
pruning requests when setting TTL at bucket level.
This commit is contained in:
Iván Ovejero
2023-10-24 10:37:02 +02:00
committed by GitHub
parent a9fdd018f4
commit 78243edd18
5 changed files with 7 additions and 35 deletions

View File

@@ -151,7 +151,7 @@ export class BinaryDataService {
if (!manager) return;
await manager.deleteMany(ids);
if (manager.deleteMany) await manager.deleteMany(ids);
}
@LogCatch((error) =>