Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ManiMatter committed May 13, 2024
1 parent 9f8d196 commit d866460
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 @@ -28,7 +28,7 @@ async def remove_slow(settingsDict, BASE_URL, API_KEY, NAME, deleted_downloads,
if queueItem['protocol'] == 'usenet': # No need to check for speed for usenet, since there users pay for speed
continue
if queueItem['sizeleft'] == 0: # Skip items that are finished downloading but are still marked as downloading. May be the case when files are moving
logger.debug('remove_slow/skipping completed item marked as downloading (most likely moving): %s', queueItem['title'])
logger.info('>>> Detected %s download that has completed downloading - skipping from %s (likely moving): %s',failType, failType, queueItem['title'])
continue
# determine if the downloaded bit on average between this and the last iteration is greater than the min threshold
downloadedSize, previousSize, increment, speed = await getDownloadedSize(settingsDict, queueItem, download_sizes_tracker, NAME)
Expand Down

0 comments on commit d866460

Please sign in to comment.