aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/lib/job-queue/job-queue.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/job-queue/job-queue.ts b/server/lib/job-queue/job-queue.ts
index 91366c481..866aa1ed0 100644
--- a/server/lib/job-queue/job-queue.ts
+++ b/server/lib/job-queue/job-queue.ts
@@ -492,8 +492,8 @@ class JobQueue {
492 async removeOldJobs () { 492 async removeOldJobs () {
493 for (const key of Object.keys(this.queues)) { 493 for (const key of Object.keys(this.queues)) {
494 const queue: Queue = this.queues[key] 494 const queue: Queue = this.queues[key]
495 await queue.clean(parseDurationToMs('7 days'), 100, 'completed') 495 await queue.clean(parseDurationToMs('7 days'), 1000, 'completed')
496 await queue.clean(parseDurationToMs('7 days'), 100, 'failed') 496 await queue.clean(parseDurationToMs('7 days'), 1000, 'failed')
497 } 497 }
498 } 498 }
499 499