UploadQueue.cpp:
Quote
// cap the list
// the queue limit in prefs is only a soft limit. Hard limit is 25% higher, to let in powershare clients and other
// high ranking clients after soft limit has been reached
uint32 softQueueLimit = thePrefs.GetQueueSize();
uint32 hardQueueLimit = thePrefs.GetQueueSize() + max(thePrefs.GetQueueSize()/4, 200);
// the queue limit in prefs is only a soft limit. Hard limit is 25% higher, to let in powershare clients and other
// high ranking clients after soft limit has been reached
uint32 softQueueLimit = thePrefs.GetQueueSize();
uint32 hardQueueLimit = thePrefs.GetQueueSize() + max(thePrefs.GetQueueSize()/4, 200);
into:
Quote
// cap the list
// the queue limit in prefs is only a soft limit. Hard limit is 25% higher, to let in powershare clients and other
// high ranking clients after soft limit has been reached
uint32 hardQueueLimit = thePrefs.GetQueueSize();
uint32 softQueueLimit = thePrefs.GetQueueSize()/1.25f;
if(hardQueueLimit - softQueueLimit < 200)
softQueueLimit = hardQueueLimit-200;
// the queue limit in prefs is only a soft limit. Hard limit is 25% higher, to let in powershare clients and other
// high ranking clients after soft limit has been reached
uint32 hardQueueLimit = thePrefs.GetQueueSize();
uint32 softQueueLimit = thePrefs.GetQueueSize()/1.25f;
if(hardQueueLimit - softQueueLimit < 200)
softQueueLimit = hardQueueLimit-200;
This will make hardlimit to be kept and at least 200 places as "buffer" in the queue
BTW is /1.25f much slower than *0.8f?