Skip to content

Commit

Permalink
fix(reannounce): change status to stalled
Browse files Browse the repository at this point in the history
  • Loading branch information
buroa committed Aug 19, 2024
1 parent f9cb714 commit cd78c10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qbtools/commands/reannounce.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ def process_torrents(status):

retries[status] = torrents_retries

logger.info("Starting reannounce process...")

while True:
try:
process_torrents(status="downloading")
process_torrents(status="stalled_downloading")
if args.process_seeding:
process_torrents(status="uploading")
process_torrents(status="stalled_uploading")
except Exception as e:
logger.error(e)

Expand Down

0 comments on commit cd78c10

Please sign in to comment.