add comment
This commit is contained in:
parent
671206838a
commit
a4091ff1a1
|
@ -3397,6 +3397,7 @@ namespace aux {
|
||||||
if (!t.is_finished())
|
if (!t.is_finished())
|
||||||
{
|
{
|
||||||
// TODO: make this bias configurable
|
// 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);
|
TORRENT_ASSERT(m_num_active_downloading > 0);
|
||||||
num_attempts += m_num_active_finished / m_num_active_downloading;
|
num_attempts += m_num_active_finished / m_num_active_downloading;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue