Skip to content

Commit

Permalink
Merge pull request #193 from Yeraze/dev
Browse files Browse the repository at this point in the history
Check for both Size Total and Size Remaining
  • Loading branch information
ManiMatter authored Dec 3, 2024
2 parents 07c4f6f + b5481f9 commit c156d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/remove_slow.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def remove_slow(
continue
if queueItem["status"] == "downloading":
if (
queueItem["sizeleft"] == 0
queueItem["size"] > 0 and queueItem["sizeleft"] == 0
): # Skip items that are finished downloading but are still marked as downloading. May be the case when files are moving
logger.info(
">>> Detected %s download that has completed downloading - skipping check (torrent files likely in process of being moved): %s",
Expand Down

0 comments on commit c156d4c

Please sign in to comment.