Round off the seeded ratio when checking for removal candidates

Signed-off-by: Stevie Robinson <stevie.robinson@gmail.com>

(cherry picked from commit c6bb6ad8788fb1c20ed466a495f2b47034947145)
pull/9648/head
Stevie Robinson 5 months ago committed by Bogdan
parent 49501a55ae
commit 18dc6f60b0

@ -609,7 +609,7 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
} }
else if (torrent.RatioLimit == -2 && config.MaxRatioEnabled) else if (torrent.RatioLimit == -2 && config.MaxRatioEnabled)
{ {
if (torrent.Ratio >= config.MaxRatio) if (Math.Round(torrent.Ratio, 2) >= config.MaxRatio)
{ {
return true; return true;
} }

Loading…
Cancel
Save