Skip to content

Commit

Permalink
fix: don't store completed notification jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Oct 27, 2022
1 parent caf6720 commit 373fc3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/queue/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const notificationQueue = new Queue('notificationQueue', {
port: parseInt(process.env.REDIS_PORT || '6379', 10),
},
defaultJobOptions: {
removeOnComplete: true,
attempts: 20,
backoff: {
type: 'fixed',
Expand Down

0 comments on commit 373fc3b

Please sign in to comment.