auto unchoke improvement

This commit is contained in:
Arvid Norberg 2008-01-17 21:34:00 +00:00
parent 4a92dae541
commit 4f99230c74
1 changed files with 1 additions and 1 deletions

View File

@ -1443,7 +1443,7 @@ namespace detail
{
++m_allowed_upload_slots;
}
else if (m_stat.upload_rate() >= upload_limit
else if (m_upload_channel.queue_size() > 1
&& m_allowed_upload_slots > m_max_uploads)
{
--m_allowed_upload_slots;