@torrent-tv/proxy 2.95.25 → 2.95.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1489,6 +1489,13 @@ export class TorrentPool {
|
|
|
1489
1489
|
torrent.on("download-request-cancel-failed", ({ piece, offset, length, error }) => {
|
|
1490
1490
|
logger.warn(`download request=${torrent.infoHash ?? "unknown"}:${piece}:${offset} cancel bytes=${length} failed: ${error}`);
|
|
1491
1491
|
});
|
|
1492
|
+
// WHEN each piece arrived. The requests above say what was asked for; this
|
|
1493
|
+
// says what came and in which order, which is what decides how far an
|
|
1494
|
+
// encoder reading the file can go before it meets a piece still missing
|
|
1495
|
+
// (torrent-tv/meta#151). One short line per piece: a 2.3 GB film is 563.
|
|
1496
|
+
torrent.on("verified", (piece) => {
|
|
1497
|
+
logger.info(`download ${label()} verified piece=${piece}`);
|
|
1498
|
+
});
|
|
1492
1499
|
|
|
1493
1500
|
// The first connected peer, said once, because the wait for it can BE the
|
|
1494
1501
|
// whole cold start and nothing else measures it.
|