keep up to 1 hour complete tasks and up to 1 day failed tasks
This commit is contained in:
@ -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
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user