mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
Do not attempt to pause/remove a checking torrent due to stop at share ratio rules
This commit is contained in:
parent
2831e10a24
commit
c6c861885e
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class TorrentManager(component.Component):
|
|||
|
||||
def update(self):
|
||||
for torrent_id, torrent in self.torrents.items():
|
||||
if self.config["stop_seed_at_ratio"] or torrent.options["stop_at_ratio"]:
|
||||
if self.config["stop_seed_at_ratio"] or torrent.options["stop_at_ratio"] and torrent.state not in ("Checking", "Allocating"):
|
||||
stop_ratio = self.config["stop_seed_ratio"]
|
||||
if torrent.options["stop_at_ratio"]:
|
||||
stop_ratio = torrent.options["stop_ratio"]
|
||||
|
|
Loading…
Add table
Reference in a new issue