From a0b6085530e0972675d996b413d9d28e98af3675 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 4 Mar 2011 06:03:45 +0000 Subject: [PATCH] re-evaluate auto managed torrents soon after adding a new auto-managed torrent --- src/session_impl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/session_impl.cpp b/src/session_impl.cpp index c1cf6dc7f..c34862e8b 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -3967,6 +3967,10 @@ namespace aux { if (m_alerts.should_post()) 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); }