mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
feat(api/queue): auto-remove completed jobs after 25 hours
This commit is contained in:
parent
620b02f9ca
commit
d497284b40
|
@ -16,6 +16,14 @@ export function getScrapeQueue() {
|
|||
scrapeQueueName,
|
||||
{
|
||||
connection: redisConnection,
|
||||
defaultJobOptions: {
|
||||
removeOnComplete: {
|
||||
age: 90000, // 25 hours
|
||||
},
|
||||
removeOnFail: {
|
||||
age: 90000, // 25 hours
|
||||
},
|
||||
},
|
||||
}
|
||||
// {
|
||||
// settings: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user