mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #4311 from omnivore-app/revert-remove-on-complete
keep up to 1000 completed newsletter tasks within a day
This commit is contained in:
commit
de083c3a8b
1 changed files with 8 additions and 0 deletions
|
|
@ -55,6 +55,14 @@ 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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue