diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,7 +46,7 @@ db.init(false).then(() => onDatabaseInitDone()) | |||
46 | 46 | ||
47 | // ----------- PeerTube modules ----------- | 47 | // ----------- PeerTube modules ----------- |
48 | import { migrate, installApplication } from './server/initializers' | 48 | import { migrate, installApplication } from './server/initializers' |
49 | import { httpRequestJobScheduler, transcodingJobScheduler, VideosPreviewCache } from './server/lib' | 49 | import { activitypubHttpJobScheduler, transcodingJobScheduler, VideosPreviewCache } from './server/lib' |
50 | import { apiRouter, clientsRouter, staticRouter, servicesRouter, webfingerRouter, activityPubRouter } from './server/controllers' | 50 | import { 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) |