aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/schedulers/remove-old-jobs-scheduler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/schedulers/remove-old-jobs-scheduler.ts')
-rw-r--r--server/lib/schedulers/remove-old-jobs-scheduler.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/schedulers/remove-old-jobs-scheduler.ts b/server/lib/schedulers/remove-old-jobs-scheduler.ts
index 879846999..6b05ea144 100644
--- a/server/lib/schedulers/remove-old-jobs-scheduler.ts
+++ b/server/lib/schedulers/remove-old-jobs-scheduler.ts
@@ -4,6 +4,8 @@ import { SCHEDULER_INTERVALS_MS } from '../../initializers/constants'
4import { JobQueue } from '../job-queue' 4import { JobQueue } from '../job-queue'
5import { AbstractScheduler } from './abstract-scheduler' 5import { AbstractScheduler } from './abstract-scheduler'
6 6
7// FIXME: delete this scheduler in a few versions (introduced in 5.0)
8// We introduced job removal directly using bullmq option but we still need to delete old jobs
7export class RemoveOldJobsScheduler extends AbstractScheduler { 9export class RemoveOldJobsScheduler extends AbstractScheduler {
8 10
9 private static instance: AbstractScheduler 11 private static instance: AbstractScheduler