Skip to content

Commit

Permalink
force remove queue jobs on fail and complete
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Dec 14, 2024
1 parent 92d5742 commit 08e0cd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/src/modules/import-data/import-data.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ import { SourcingDataDbCleaner } from 'modules/import-data/sourcing-data/sourcin
}),
BullModule.registerQueue({
name: importQueueName,
defaultJobOptions: {
removeOnComplete: true,
removeOnFail: true,
},
}),
BullModule.registerQueue({
name: 'eudr',
Expand Down

0 comments on commit 08e0cd7

Please sign in to comment.