mirror of
https://github.com/zoriya/flood.git
synced 2026-05-31 02:15:12 +00:00
server: Transmission: normalize "unknown" ETA (-2) to infinity (-1) (#432)
Bug: #431
This commit is contained in:
@@ -374,7 +374,7 @@ class TransmissionClientGatewayService extends ClientGatewayService {
|
||||
downTotal: torrent.downloadedEver,
|
||||
upRate: torrent.rateUpload,
|
||||
upTotal: torrent.uploadedEver,
|
||||
eta: torrent.eta,
|
||||
eta: torrent.eta > 0 ? torrent.eta : -1,
|
||||
isPrivate: torrent.isPrivate,
|
||||
isInitialSeeding: false,
|
||||
isSequential: false,
|
||||
|
||||
Reference in New Issue
Block a user