mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Round off the seeded ratio when checking for removal candidates
Signed-off-by: Stevie Robinson <stevie.robinson@gmail.com> (cherry picked from commit c6bb6ad8788fb1c20ed466a495f2b47034947145)
This commit is contained in:
parent
1dc28a8ab1
commit
3438339951
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,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…
Add table
Add a link
Reference in a new issue