Merge pull request #4313 from omnivore-app/revert-remove-on-complete

use default remove-on-complete settings from the queue for saving newsletters tasks
This commit is contained in:
Hongbo Wu 2024-08-23 11:36:01 +08:00 committed by GitHub
commit b952ee4600
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,14 +55,6 @@ const getOpts = (jobType: EmailJobType): BulkJobOptions => {
type: 'exponential',
delay: 2000,
},
removeOnComplete: {
age: 3600 * 24, // 1 day
count: 1000,
},
removeOnFail: {
age: 3600 * 24, // 1 day
count: 1000,
},
}
}