aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-05-05 17:24:16 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-05-05 17:24:16 +0200
commit4e284e97b95d1fe93378b90061272e3abc875078 (patch)
treec5ad3b70046725dc7491b0d0a228bd1f76e4cab4 /server.js
parente5b885390557dd61d64ca3e0db5f33dd602518f2 (diff)
downloadPeerTube-4e284e97b95d1fe93378b90061272e3abc875078.tar.gz
PeerTube-4e284e97b95d1fe93378b90061272e3abc875078.tar.zst
PeerTube-4e284e97b95d1fe93378b90061272e3abc875078.zip
Server: finish old jobs at startup
Diffstat (limited to 'server.js')
-rw-r--r--server.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/server.js b/server.js
index 54fa914bf..b2487b767 100644
--- a/server.js
+++ b/server.js
@@ -29,6 +29,11 @@ const missed = checker.checkMissedConfig()
29if (missed.length !== 0) { 29if (missed.length !== 0) {
30 throw new Error('Miss some configurations keys : ' + missed) 30 throw new Error('Miss some configurations keys : ' + missed)
31} 31}
32checker.checkFFmpeg(function (err) {
33 if (err) {
34 throw err
35 }
36})
32 37
33const errorMessage = checker.checkConfig() 38const errorMessage = checker.checkConfig()
34if (errorMessage !== null) { 39if (errorMessage !== null) {