restored the faster connection behavior
This commit is contained in:
parent
77c141fd6d
commit
56a4b8412a
|
@ -724,8 +724,8 @@ namespace libtorrent
|
|||
}
|
||||
}
|
||||
|
||||
if (m_torrent->want_more_peers())
|
||||
connect_one_peer();
|
||||
while (m_torrent->want_more_peers())
|
||||
if (!connect_one_peer()) break;
|
||||
|
||||
// ------------------------
|
||||
// upload shift
|
||||
|
|
|
@ -609,6 +609,7 @@ namespace libtorrent
|
|||
bind(&torrent::on_peer_name_lookup, shared_from_this(), _1, _2, i->pid)));
|
||||
}
|
||||
}
|
||||
m_policy->pulse();
|
||||
|
||||
if (m_ses.m_alerts.should_post(alert::info))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue