mirror of
https://github.com/transmission/transmission
synced 2025-02-07 06:54:40 +00:00
(libT) possible fix for #1468: Speed display is very jumpy
This commit is contained in:
parent
97e4efaa4d
commit
f385cd4e02
1 changed files with 2 additions and 2 deletions
|
@ -2509,7 +2509,7 @@ allocateBandwidth( tr_peerMgr * mgr,
|
|||
countHandshakeBandwidth( t->outgoingHandshakes, direction );
|
||||
|
||||
/* remember this torrent's bytes used */
|
||||
tr_rcTransferred( t->tor->rawSpeed[direction], used );
|
||||
tr_rcTransferred( t->tor->pieceSpeed[direction], used );
|
||||
|
||||
/* add this torrent's bandwidth use to allBytesUsed */
|
||||
allBytesUsed += used;
|
||||
|
@ -2530,7 +2530,7 @@ allocateBandwidth( tr_peerMgr * mgr,
|
|||
|
||||
case TR_SPEEDLIMIT_SINGLE:
|
||||
setPeerBandwidth( t->peers, direction,
|
||||
t->tor->rawSpeed[direction],
|
||||
t->tor->pieceSpeed[direction],
|
||||
tr_torrentGetSpeedLimit( t->tor, direction ) );
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue