уменьшение нагрузку на подсчет файлов
This commit is contained in:
2
index.js
2
index.js
@ -231,7 +231,7 @@ setInterval(() => {
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}, 60 * 1000)
|
}, 10 * 60 * 1000)
|
||||||
|
|
||||||
client.on('complete', function (metadata, infohash, rinfo) {
|
client.on('complete', function (metadata, infohash, rinfo) {
|
||||||
console.log('writing torrent to db');
|
console.log('writing torrent to db');
|
||||||
|
Reference in New Issue
Block a user