diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -127,6 +127,7 @@ import { PluginManager } from './server/lib/plugins/plugin-manager' | |||
127 | import { LiveManager } from './server/lib/live-manager' | 127 | import { LiveManager } from './server/lib/live-manager' |
128 | import { HttpStatusCode } from './shared/core-utils/miscs/http-error-codes' | 128 | import { HttpStatusCode } from './shared/core-utils/miscs/http-error-codes' |
129 | import { VideosTorrentCache } from '@server/lib/files-cache/videos-torrent-cache' | 129 | import { VideosTorrentCache } from '@server/lib/files-cache/videos-torrent-cache' |
130 | import { ServerConfigManager } from '@server/lib/server-config-manager' | ||
130 | 131 | ||
131 | // ----------- Command line ----------- | 132 | // ----------- Command line ----------- |
132 | 133 | ||
@@ -262,7 +263,8 @@ async function startApplication () { | |||
262 | 263 | ||
263 | await Promise.all([ | 264 | await Promise.all([ |
264 | Emailer.Instance.checkConnection(), | 265 | Emailer.Instance.checkConnection(), |
265 | JobQueue.Instance.init() | 266 | JobQueue.Instance.init(), |
267 | ServerConfigManager.Instance.init() | ||
266 | ]) | 268 | ]) |
267 | 269 | ||
268 | // Caches initializations | 270 | // Caches initializations |