Integrate dead torrent cleanup into Manager loop #1

Merged
administrator merged 1 commits from claude/beautiful-taussig into master 2026-03-18 13:59:20 +01:00

Summary

  • Moved dead torrent detection logic from 50 MrtveTorrenty.py into 70 Manager.py as step 1b
  • Manager now handles completed, dead, and new torrents in a single run cycle
  • Dead criteria: progress < 95% after 72h OR stuck >= 95% but < 100% after 7 days

Test plan

  • Verify dead torrents are correctly identified and removed from qBittorrent
  • Verify DB is updated with qb_state=incomplete for dead torrents
  • Verify freed slots are filled with new torrents in the same run
## Summary - Moved dead torrent detection logic from `50 MrtveTorrenty.py` into `70 Manager.py` as step 1b - Manager now handles completed, dead, and new torrents in a single run cycle - Dead criteria: progress < 95% after 72h OR stuck >= 95% but < 100% after 7 days ## Test plan - [ ] Verify dead torrents are correctly identified and removed from qBittorrent - [ ] Verify DB is updated with qb_state=incomplete for dead torrents - [ ] Verify freed slots are filled with new torrents in the same run
administrator added 1 commit 2026-03-18 13:57:37 +01:00
Move dead torrent detection logic from 50 MrtveTorrenty.py into 70 Manager.py as step 1b, so the manager handles completed, dead, and new torrents in a single run cycle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
administrator merged commit 058281df0e into master 2026-03-18 13:59:20 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: administrator/torrents#1