Skip to content

Commit

Permalink
Added recovery message when slow/stalled etc download recovers within…
Browse files Browse the repository at this point in the history
… number of permitted attempts
  • Loading branch information
ManiMatter committed Mar 3, 2024
1 parent a5a67ea commit 165b0e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def permittedAttemptsCheck(settings_dict, affectedItems, failType, BASE_URL, def
logger.debug('permittedAttemptsCheck/recoveredDownloadIDs: %s', str(recoveredDownloadIDs))
for recoveredDownloadID in recoveredDownloadIDs:
del defective_tracker.dict[BASE_URL][failType][recoveredDownloadID]
logger.info('>>> Detected %s download has recovered: %s', failType, affectedItem['title'])
logger.debug('permittedAttemptsCheck/defective_tracker.dict IN: %s', str(defective_tracker.dict))

# 3. For those that are defective, add attempt + 1 if present before, or make attempt = 1.
Expand Down

0 comments on commit 165b0e8

Please sign in to comment.