diff options
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -31,7 +31,6 @@ const logger = require('./server/helpers/logger') | |||
31 | const poolRequests = require('./server/lib/requestsScheduler') | 31 | const poolRequests = require('./server/lib/requestsScheduler') |
32 | const routes = require('./server/controllers') | 32 | const routes = require('./server/controllers') |
33 | const utils = require('./server/helpers/utils') | 33 | const utils = require('./server/helpers/utils') |
34 | const videos = require('./server/lib/videos') | ||
35 | const webtorrent = require('./server/lib/webtorrent') | 34 | const webtorrent = require('./server/lib/webtorrent') |
36 | 35 | ||
37 | // Get configurations | 36 | // Get configurations |
@@ -138,11 +137,11 @@ installer.installApplication(function (err) { | |||
138 | // Activate the pool requests | 137 | // Activate the pool requests |
139 | poolRequests.activate() | 138 | poolRequests.activate() |
140 | 139 | ||
141 | videos.seedAllExisting(function () { | 140 | // videos.seedAllExisting(function () { |
142 | logger.info('Seeded all the videos') | 141 | logger.info('Seeded all the videos') |
143 | logger.info('Server listening on port %d', port) | 142 | logger.info('Server listening on port %d', port) |
144 | app.emit('ready') | 143 | app.emit('ready') |
145 | }) | 144 | // }) |
146 | }) | 145 | }) |
147 | }) | 146 | }) |
148 | }) | 147 | }) |