diff options
author | buoyantair <buoyantair@protonmail.com> | 2018-11-20 12:28:13 +0530 |
---|---|---|
committer | buoyantair <buoyantair@protonmail.com> | 2018-11-20 12:28:13 +0530 |
commit | bc22d60899e14631cba0fb6450f4e85fc9528293 (patch) | |
tree | 285fa55033bc065df803adc2e4e3142fdfdd7309 /server.ts | |
parent | b9f234371bfaf0d9cfa81e02fcea92cac1f9ae13 (diff) | |
parent | d216b5387fb774d1355df3ace002f7be469bd450 (diff) | |
download | PeerTube-bc22d60899e14631cba0fb6450f4e85fc9528293.tar.gz PeerTube-bc22d60899e14631cba0fb6450f4e85fc9528293.tar.zst PeerTube-bc22d60899e14631cba0fb6450f4e85fc9528293.zip |
Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils-to-shared
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -204,9 +204,11 @@ async function startApplication () { | |||
204 | 204 | ||
205 | // Email initialization | 205 | // Email initialization |
206 | Emailer.Instance.init() | 206 | Emailer.Instance.init() |
207 | await Emailer.Instance.checkConnectionOrDie() | ||
208 | 207 | ||
209 | await JobQueue.Instance.init() | 208 | await Promise.all([ |
209 | Emailer.Instance.checkConnectionOrDie(), | ||
210 | JobQueue.Instance.init() | ||
211 | ]) | ||
210 | 212 | ||
211 | // Caches initializations | 213 | // Caches initializations |
212 | VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE, CACHE.PREVIEWS.MAX_AGE) | 214 | VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE, CACHE.PREVIEWS.MAX_AGE) |