mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
keep up to 1 hour complete tasks and up to 1 day failed tasks
This commit is contained in:
parent
eec2734f5a
commit
47cea15480
1 changed files with 2 additions and 2 deletions
|
|
@ -111,10 +111,10 @@ export const getQueue = async (
|
|||
delay: 2000, // 2 seconds
|
||||
},
|
||||
removeOnComplete: {
|
||||
age: 24 * 3600, // keep up to 24 hours
|
||||
age: 3600, // keep up to 1 hour
|
||||
},
|
||||
removeOnFail: {
|
||||
age: 7 * 24 * 3600, // keep up to 7 days
|
||||
age: 24 * 3600, // keep up to 1 day
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue