From 60650c77c8a2a98e92d869b237ae4900f369a8fc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Jan 2018 09:35:50 +0100 Subject: Add scores to follows and remove bad ones --- server.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server.ts') diff --git a/server.ts b/server.ts index a52c47083..99077a173 100644 --- a/server.ts +++ b/server.ts @@ -56,6 +56,7 @@ import { installApplication } from './server/initializers' import { activitypubHttpJobScheduler, transcodingJobScheduler } from './server/lib/jobs' import { VideosPreviewCache } from './server/lib/cache' import { apiRouter, clientsRouter, staticRouter, servicesRouter, webfingerRouter, activityPubRouter } from './server/controllers' +import { BadActorFollowScheduler } from './server/lib/schedulers/bad-actor-follow-scheduler' // ----------- Command line ----------- @@ -168,6 +169,8 @@ function onDatabaseInitDone () { // ----------- Make the server listening ----------- server.listen(port, () => { VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE) + BadActorFollowScheduler.Instance.enable() + activitypubHttpJobScheduler.activate() transcodingJobScheduler.activate() -- cgit v1.2.3