re-evaluate auto managed torrents soon after adding a new auto-managed torrent
This commit is contained in:
@@ -3967,6 +3967,10 @@ namespace aux {
|
|||||||
if (m_alerts.should_post<torrent_added_alert>())
|
if (m_alerts.should_post<torrent_added_alert>())
|
||||||
m_alerts.post_alert(torrent_added_alert(torrent_ptr->get_handle()));
|
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);
|
return torrent_handle(torrent_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user