diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-05-05 17:24:16 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-05-05 17:24:16 +0200 |
commit | 4e284e97b95d1fe93378b90061272e3abc875078 (patch) | |
tree | c5ad3b70046725dc7491b0d0a228bd1f76e4cab4 /server.js | |
parent | e5b885390557dd61d64ca3e0db5f33dd602518f2 (diff) | |
download | PeerTube-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.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,11 @@ const missed = checker.checkMissedConfig() | |||
29 | if (missed.length !== 0) { | 29 | if (missed.length !== 0) { |
30 | throw new Error('Miss some configurations keys : ' + missed) | 30 | throw new Error('Miss some configurations keys : ' + missed) |
31 | } | 31 | } |
32 | checker.checkFFmpeg(function (err) { | ||
33 | if (err) { | ||
34 | throw err | ||
35 | } | ||
36 | }) | ||
32 | 37 | ||
33 | const errorMessage = checker.checkConfig() | 38 | const errorMessage = checker.checkConfig() |
34 | if (errorMessage !== null) { | 39 | if (errorMessage !== null) { |