Skip to content

Commit a08041f

Browse files
authored
fix: remove job on fail (#1008)
1 parent faf0581 commit a08041f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules/jobs/tasks/trash-cleanup/trash-cleanup.scheduler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class TrashCleanupScheduler {
4747
attempts: 3,
4848
backoff: { type: 'exponential', delay: 5_000 },
4949
removeOnComplete: true,
50-
removeOnFail: 100,
50+
removeOnFail: true,
5151
},
5252
);
5353
}

0 commit comments

Comments
 (0)