From cfff5c7603c2aa8566f60705601b2ff148300346 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Mon, 12 Mar 2018 10:41:08 +0300 Subject: [PATCH] fix(info): fix info files limitation in output --- src/background/spider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background/spider.js b/src/background/spider.js index 00e407f..e8d3445 100644 --- a/src/background/spider.js +++ b/src/background/spider.js @@ -382,7 +382,7 @@ if(config.p2pBootstrap) if(options.files) { - sphinx.query('SELECT * FROM `files` WHERE `hash` = ?', hash, function (error, rows, fields) { + sphinx.query('SELECT * FROM `files` WHERE `hash` = ? LIMIT 50000', hash, function (error, rows, fields) { torrent.filesList = rows; callback(baseRowData(torrent)) });