Skip to content

Commit

Permalink
fix completed retention: s not ms
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Mar 16, 2024
1 parent eead46f commit e04bf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/nocapd/src/classes/Worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class NWWorker {
setupJobOpts(){
this.jobOpts ={
removeOnComplete: {
age: this.expires,
age: Math.round(this.expires/1000),
},
removeOnFail: 11,
}
Expand Down

0 comments on commit e04bf6c

Please sign in to comment.