aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/schedulers/bad-actor-follow-scheduler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/schedulers/bad-actor-follow-scheduler.ts')
-rw-r--r--server/lib/schedulers/bad-actor-follow-scheduler.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/lib/schedulers/bad-actor-follow-scheduler.ts b/server/lib/schedulers/bad-actor-follow-scheduler.ts
index 121f7145e..617149aaf 100644
--- a/server/lib/schedulers/bad-actor-follow-scheduler.ts
+++ b/server/lib/schedulers/bad-actor-follow-scheduler.ts
@@ -2,11 +2,14 @@ import { isTestInstance } from '../../helpers/core-utils'
2import { logger } from '../../helpers/logger' 2import { logger } from '../../helpers/logger'
3import { ActorFollowModel } from '../../models/activitypub/actor-follow' 3import { ActorFollowModel } from '../../models/activitypub/actor-follow'
4import { AbstractScheduler } from './abstract-scheduler' 4import { AbstractScheduler } from './abstract-scheduler'
5import { SCHEDULER_INTERVALS_MS } from '../../initializers'
5 6
6export class BadActorFollowScheduler extends AbstractScheduler { 7export class BadActorFollowScheduler extends AbstractScheduler {
7 8
8 private static instance: AbstractScheduler 9 private static instance: AbstractScheduler
9 10
11 protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.badActorFollow
12
10 private constructor () { 13 private constructor () {
11 super() 14 super()
12 } 15 }