feat(downloading): download speed

This commit is contained in:
Alexey Kasyanchuk
2018-06-26 18:53:44 +03:00
parent ec861e1f0a
commit c321286d6c
2 changed files with 19 additions and 14 deletions

View File

@ -606,7 +606,7 @@ module.exports = async ({
send('downloadProgress', torrent.infoHash, {
received: bytes,
downloaded: torrent.downloaded,
speed: torrent.downloadSpeed,
downloadSpeed: torrent.downloadSpeed,
progress: torrent.progress,
timeRemaining: torrent.timeRemaining
})
@ -648,7 +648,7 @@ module.exports = async ({
received: torrent.received,
downloaded: torrent.downloaded,
progress: torrent.progress,
speed: torrent.downloadSpeed
downloadSpeed: torrent.downloadSpeed
})))
})