Skip to content

Commit

Permalink
modify completed retention
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Mar 16, 2024
1 parent c6eb3c0 commit eead46f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/nocapd/src/classes/Worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ export class NWWorker {

setupJobOpts(){
this.jobOpts ={
removeOnComplete: 100,
removeOnFail: 100
removeOnComplete: {
age: this.expires,
},
removeOnFail: 11,
}
}

Expand Down

0 comments on commit eead46f

Please sign in to comment.