From 53b730420f4e7d2f93878d91517207738a580b5b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 18 Dec 2008 03:27:07 +0000 Subject: [PATCH] another test commit for vraa.. this is just an experiment; probably eats a lot of memory --- libtransmission/peer-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/peer-io.c b/libtransmission/peer-io.c index 5d0316da8..191c176e6 100644 --- a/libtransmission/peer-io.c +++ b/libtransmission/peer-io.c @@ -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