add comment

This commit is contained in:
Arvid Norberg 2012-06-26 03:34:42 +00:00
parent 671206838a
commit a4091ff1a1
1 changed files with 1 additions and 0 deletions

View File

@ -3397,6 +3397,7 @@ namespace aux {
if (!t.is_finished())
{
// TODO: make this bias configurable
// TODO: also take average_peers into account, to create a bias for downloading torrents with < average peers
TORRENT_ASSERT(m_num_active_downloading > 0);
num_attempts += m_num_active_finished / m_num_active_downloading;
}