Skip to content

Commit

Permalink
Fixed delay condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Jun 28, 2024
1 parent b963012 commit f2a721b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -3985,12 +3985,12 @@ def _process_single_torrent(self, torrent: qbittorrentapi.TorrentDictionary):
torrent.name,
time.time(),
torrent.added_on,
time.time() + timedelta(minutes=self.stalled_delay).seconds,
torrent.added_on + timedelta(minutes=self.stalled_delay).seconds,
)
if (
self.stalled_delay > 0
and torrent.added_on
>= time.time() + timedelta(minutes=self.stalled_delay).seconds
and time.time()
>= torrent.added_on + timedelta(minutes=self.stalled_delay).seconds
):
stalled_ignore = False
elif "qBitrr-allowed_stalled" not in torrent.tags:
Expand Down

0 comments on commit f2a721b

Please sign in to comment.