forked from premiere/premiere-libtorrent
re-evaluate auto managed torrents soon after adding a new auto-managed torrent
This commit is contained in:
parent
2bdfea4248
commit
a0b6085530
|
@ -3967,6 +3967,10 @@ namespace aux {
|
|||
if (m_alerts.should_post<torrent_added_alert>())
|
||||
m_alerts.post_alert(torrent_added_alert(torrent_ptr->get_handle()));
|
||||
|
||||
// recalculate auto-managed torrents sooner
|
||||
if (params.auto_managed && m_auto_manage_time_scaler > 1)
|
||||
m_auto_manage_time_scaler = 1;
|
||||
|
||||
return torrent_handle(torrent_ptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue