mirror of
https://github.com/transmission/transmission
synced 2025-02-04 05:22:40 +00:00
(trunk libT) tweak high/normal/low priority peer bandwidth allocation
This commit is contained in:
parent
1f0fdba2e8
commit
6ad33534e7
1 changed files with 3 additions and 3 deletions
|
@ -268,9 +268,9 @@ tr_bandwidthAllocate( tr_bandwidth * b,
|
||||||
tr_peerIoFlushOutgoingProtocolMsgs( io );
|
tr_peerIoFlushOutgoingProtocolMsgs( io );
|
||||||
|
|
||||||
switch( io->priority ) {
|
switch( io->priority ) {
|
||||||
case TR_PRI_HIGH: tr_ptrArrayAppend( &high, io ); break;
|
case TR_PRI_HIGH: tr_ptrArrayAppend( &high, io ); /* fall through */
|
||||||
case TR_PRI_LOW: tr_ptrArrayAppend( &low, io ); break;
|
case TR_PRI_NORMAL: tr_ptrArrayAppend( &normal, io ); /* fall through */
|
||||||
default: tr_ptrArrayAppend( &normal, io ); break;
|
default: tr_ptrArrayAppend( &low, io );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue