Retry when deleting an episodefile fails with 504
antifuchs opened this issue · comments
Andreas Fuchs commented
When deleting an episode file fails (e.g. with 504 because the system is very busy), the program quits; however, the deletion might already have gone through. At that point, the season is no longer counted as "complete" and will not be eligible for deletion again.
When receiving a 504 or other retry-able status, sonarr-plex-cleaner should retry (or query the file) after a backoff period and continue.