Skip to content

Commit 2e1a50e

Browse files
committed
Update BackendRunnerService to include removeOnComplete and removeOnFail options
1 parent a03272a commit 2e1a50e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend-runner/backend-runner.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,11 @@ export class BackendRunnerService implements OnApplicationBootstrap, OnModuleIni
104104
autorun: false,
105105
removeOnComplete: {
106106
age: 60 * 60 * 24 * 7,
107+
count: 10_000,
107108
},
108109
removeOnFail: {
109110
age: 60 * 60 * 24 * 7,
111+
count: 10_000,
110112
},
111113
},
112114
);

0 commit comments

Comments
 (0)