1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-20 21:37:18 +00:00

Fixed: Typo that could probably lead to an infinite loop.

This commit is contained in:
Leonardo Galli 2018-12-02 18:14:52 +01:00
parent eb077b043e
commit df18c34878

View file

@ -109,7 +109,7 @@ private void EnsureCovers(Movie movie, int retried = 0)
_logger.Warn(e, string.Format("Couldn't download media cover for {0}. {1}", movie, e.Message));
if (retried < 3)
{
retried = +1;
retried += 1;
_logger.Warn("Retrying for the {0}. time in ten seconds.", retried);
System.Threading.Thread.Sleep(10 * 1000);
EnsureCovers(movie, retried);