X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Fschedulers%2Fremove-old-views-scheduler.ts;h=8bc53a0455c87c8e14f75da73abc33082a3a46eb;hb=bae616273d455d225d131eb17c56db6c20a0b6b3;hp=73577a4215efae384f1a102288feb5f4db4ee28d;hpb=fd261a8de933779480d631891efd2ac289045f2f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/schedulers/remove-old-views-scheduler.ts b/server/lib/schedulers/remove-old-views-scheduler.ts index 73577a421..8bc53a045 100644 --- a/server/lib/schedulers/remove-old-views-scheduler.ts +++ b/server/lib/schedulers/remove-old-views-scheduler.ts @@ -1,14 +1,14 @@ +import { VideoViewModel } from '@server/models/view/video-view' import { logger } from '../../helpers/logger' -import { AbstractScheduler } from './abstract-scheduler' -import { SCHEDULER_INTERVALS_MS } from '../../initializers/constants' import { CONFIG } from '../../initializers/config' -import { VideoViewModel } from '../../models/video/video-view' +import { SCHEDULER_INTERVALS_MS } from '../../initializers/constants' +import { AbstractScheduler } from './abstract-scheduler' export class RemoveOldViewsScheduler extends AbstractScheduler { private static instance: AbstractScheduler - protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.removeOldViews + protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.REMOVE_OLD_VIEWS private constructor () { super()