From 0947dfc423eaa07a5eaa31d23c9369c0adb63331 Mon Sep 17 00:00:00 2001 From: Kevin Richter Date: Fri, 4 May 2018 18:52:35 +0200 Subject: [PATCH] Stop deluge torrent when they reach stop ratio --- src/NzbDrone.Core/Download/Clients/Deluge/DelugeProxy.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeProxy.cs b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeProxy.cs index e1b4f2845..21a34e2be 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/DelugeProxy.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/DelugeProxy.cs @@ -158,6 +158,7 @@ namespace NzbDrone.Core.Download.Clients.Deluge if (seedConfiguration.Ratio != null) { ratioArguments.Add("stop_ratio", seedConfiguration.Ratio.Value); + ratioArguments.Add("stop_at_ratio", 1); } ProcessRequest(settings, "core.set_torrent_options", new[] { hash }, ratioArguments);