mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
another test commit for vraa.. this is just an experiment; probably eats a lot of memory
This commit is contained in:
parent
d4b4f39754
commit
53b730420f
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ getDesiredOutputBufferSize( const tr_peerIo * io )
|
|||
const double maxBlockSize = 16 * 1024; /* 16 KiB is from BT spec */
|
||||
const double currentSpeed = tr_bandwidthGetPieceSpeed( io->bandwidth, TR_UP );
|
||||
const double period = 20; /* arbitrary */
|
||||
return MAX( maxBlockSize*5.5, currentSpeed*1024*period );
|
||||
return MAX( maxBlockSize*20.5, currentSpeed*1024*period );
|
||||
}
|
||||
|
||||
size_t
|
||||
|
|
Loading…
Reference in a new issue