Skip to content

classifier - persist when all torrents are to be deleted#449

Open
rraymondgh wants to merge 1 commit into
bitmagnet-io:mainfrom
rraymondgh:classifier_only_deletes
Open

classifier - persist when all torrents are to be deleted#449
rraymondgh wants to merge 1 commit into
bitmagnet-io:mainfrom
rraymondgh:classifier_only_deletes

Conversation

@rraymondgh

Copy link
Copy Markdown
Contributor

Edge case where all torrents in a batch are to be deleted and no torrents are changed.

giorgiobrullo added a commit to giorgiobrullo/bitmagnet that referenced this pull request Mar 1, 2026
…-io#449)

When the classifier marks all torrents in a batch for deletion and none
for update, the early return on len(tcs)==0 silently dropped the
deletions. Add len(infoHashesToDelete)==0 check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant