diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-18 16:04:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-18 16:04:49 +0200 |
commit | f55e5a7bf81c2c27db1514273e3366511aabf4ae (patch) | |
tree | 7374d57557b770fbbea8b9410ec6f2e133a086c0 /server.ts | |
parent | 5350fd8e5b2b2d017b16d97828893a8a4a40bd89 (diff) | |
download | PeerTube-f55e5a7bf81c2c27db1514273e3366511aabf4ae.tar.gz PeerTube-f55e5a7bf81c2c27db1514273e3366511aabf4ae.tar.zst PeerTube-f55e5a7bf81c2c27db1514273e3366511aabf4ae.zip |
Process broadcast requests in parallel
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -215,7 +215,8 @@ async function startApplication () { | |||
215 | Redis.Instance.init() | 215 | Redis.Instance.init() |
216 | 216 | ||
217 | // Make server listening | 217 | // Make server listening |
218 | server.listen(port, hostname) | 218 | server.listen(port, hostname, () => { |
219 | logger.info('Server listening on %s:%d', hostname, port) | 219 | logger.info('Server listening on %s:%d', hostname, port) |
220 | logger.info('Web server: %s', CONFIG.WEBSERVER.URL) | 220 | logger.info('Web server: %s', CONFIG.WEBSERVER.URL) |
221 | }) | ||
221 | } | 222 | } |