]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/schedulers/bad-actor-follow-scheduler.ts
Create redundancy endpoint
[github/Chocobozzz/PeerTube.git] / server / lib / schedulers / bad-actor-follow-scheduler.ts
index 121f7145e3b657d0698848e4c93bbadc76a20bc6..617149aaf363a86dd2faf3dd30d79e51b46d3da7 100644 (file)
@@ -2,11 +2,14 @@ import { isTestInstance } from '../../helpers/core-utils'
 import { logger } from '../../helpers/logger'
 import { ActorFollowModel } from '../../models/activitypub/actor-follow'
 import { AbstractScheduler } from './abstract-scheduler'
+import { SCHEDULER_INTERVALS_MS } from '../../initializers'
 
 export class BadActorFollowScheduler extends AbstractScheduler {
 
   private static instance: AbstractScheduler
 
+  protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.badActorFollow
+
   private constructor () {
     super()
   }