aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.ts b/server.ts
index 62219f7df..84535c7a5 100644
--- a/server.ts
+++ b/server.ts
@@ -46,7 +46,7 @@ db.init(false).then(() => onDatabaseInitDone())
46 46
47// ----------- PeerTube modules ----------- 47// ----------- PeerTube modules -----------
48import { migrate, installApplication } from './server/initializers' 48import { migrate, installApplication } from './server/initializers'
49import { httpRequestJobScheduler, transcodingJobScheduler, VideosPreviewCache } from './server/lib' 49import { activitypubHttpJobScheduler, transcodingJobScheduler, VideosPreviewCache } from './server/lib'
50import { apiRouter, clientsRouter, staticRouter, servicesRouter, webfingerRouter, activityPubRouter } from './server/controllers' 50import { apiRouter, clientsRouter, staticRouter, servicesRouter, webfingerRouter, activityPubRouter } from './server/controllers'
51 51
52// ----------- Command line ----------- 52// ----------- Command line -----------
@@ -154,7 +154,7 @@ function onDatabaseInitDone () {
154 // ----------- Make the server listening ----------- 154 // ----------- Make the server listening -----------
155 server.listen(port, () => { 155 server.listen(port, () => {
156 VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE) 156 VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE)
157 httpRequestJobScheduler.activate() 157 activitypubHttpJobScheduler.activate()
158 transcodingJobScheduler.activate() 158 transcodingJobScheduler.activate()
159 159
160 logger.info('Server listening on port %d', port) 160 logger.info('Server listening on port %d', port)