Reduce priority by 1 whenever status is changed to sdconst.TRANSFER_STATUS_ERROR. (This was already done in sdtask.py.)
This ensures that a file which had a download error, will not be retried until the other files have been downloaded. This ensures that as many files as possible would be downloaded, even if a retry were issued immediately. Other desirable side effects, even after an immediate retry, are a delay between download attempts, and that errors tend to be near each other in the log file.
This pull request addresses issue 82.
Reduce priority by 1 whenever status is changed to sdconst.TRANSFER_STATUS_ERROR. (This was already done in sdtask.py.) This ensures that a file which had a download error, will not be retried until the other files have been downloaded. This ensures that as many files as possible would be downloaded, even if a retry were issued immediately. Other desirable side effects, even after an immediate retry, are a delay between download attempts, and that errors tend to be near each other in the log file. This pull request addresses issue 82.