From 8fd10b2bc2c8f39e2a630f17f3a9b10b0af005c3 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Sun, 20 Aug 2017 18:23:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=BE=D0=B3=D0=BE=20=D1=87?= =?UTF-8?q?=D1=82=D0=BE=20=D1=81=D0=BB=D1=83=D1=88=D0=B0=D0=B5=D1=82=D1=81?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bt/spider.js | 2 +- index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bt/spider.js b/bt/spider.js index f02b4ad..c6e4754 100644 --- a/bt/spider.js +++ b/bt/spider.js @@ -196,7 +196,7 @@ class Spider extends Emiter { listen(port) { this.udp.bind(port) this.udp.on('listening', () => { - console.log(`Listen on ${this.udp.address().address}:${this.udp.address().port}`) + console.log(`Listen DHT protocol on ${this.udp.address().address}:${this.udp.address().port}`) }) this.udp.on('message', (data, addr) => { this.parse(data, addr) diff --git a/index.js b/index.js index 86e96ed..a994d32 100644 --- a/index.js +++ b/index.js @@ -25,6 +25,7 @@ const {torrentTypeDetect} = require('./src/content'); // Start server server.listen(config.httpPort); +console.log('Listening web server on', config.httpPort, 'port') let mysqlPool = mysql.createPool({ connectionLimit: config.mysql.connectionLimit,