mirror of
https://github.com/Radarr/Radarr
synced 2025-12-14 20:33:44 +01: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
49501a55ae
commit
18dc6f60b0
1 changed files with 1 additions and 1 deletions
|
|
@ -609,7 +609,7 @@ protected bool HasReachedSeedLimit(QBittorrentTorrent torrent, QBittorrentPrefer
|
|||
}
|
||||
else if (torrent.RatioLimit == -2 && config.MaxRatioEnabled)
|
||||
{
|
||||
if (torrent.Ratio >= config.MaxRatio)
|
||||
if (Math.Round(torrent.Ratio, 2) >= config.MaxRatio)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue