Increase old jobs to delete per hour

This commit is contained in:
Chocobozzz 2022-11-28 15:16:06 +01:00
parent f7b00376a8
commit 5949eca71f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -492,8 +492,8 @@ class JobQueue {
async removeOldJobs () {
for (const key of Object.keys(this.queues)) {
const queue: Queue = this.queues[key]
await queue.clean(parseDurationToMs('7 days'), 100, 'completed')
await queue.clean(parseDurationToMs('7 days'), 100, 'failed')
await queue.clean(parseDurationToMs('7 days'), 1000, 'completed')
await queue.clean(parseDurationToMs('7 days'), 1000, 'failed')
}
}