дебаг
This commit is contained in:
2
index.js
2
index.js
@ -506,7 +506,7 @@ const updateTorrentTrackers = (hash) => {
|
||||
}
|
||||
|
||||
client.on('complete', function (metadata, infohash, rinfo) {
|
||||
console.log('writing torrent to db');
|
||||
console.log('writing torrent', metadata.info.name, 'to database');
|
||||
const hash = infohash.toString('hex');
|
||||
let size = metadata.info.length ? metadata.info.length : 0;
|
||||
let filesCount = 1;
|
||||
|
Reference in New Issue
Block a user