Skip to content

Commit a03272a

Browse files
committed
chore: Update BackendRunnerService to include removeOnComplete and removeOnFail options
1 parent 3c138e6 commit a03272a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ export class BackendRunnerService implements OnApplicationBootstrap, OnModuleIni
102102
{
103103
connection: this.redis,
104104
autorun: false,
105+
removeOnComplete: {
106+
age: 60 * 60 * 24 * 7,
107+
},
108+
removeOnFail: {
109+
age: 60 * 60 * 24 * 7,
110+
},
105111
},
106112
);
107113

0 commit comments

Comments
 (0)