Fixed: Retrying download on not suppressed HTTP errors

This commit is contained in:
Bogdan
2024-04-25 14:38:31 +03:00
parent 9957f734a5
commit fd4a609f51

View File

@@ -32,6 +32,7 @@ namespace NzbDrone.Core.Download
{
{ Result.HasHttpServerError: true } => PredicateResult.True(),
{ Result.StatusCode: HttpStatusCode.RequestTimeout } => PredicateResult.True(),
{ Exception: HttpException { Response.HasHttpServerError: true } } => PredicateResult.True(),
_ => PredicateResult.False()
},
Delay = TimeSpan.FromSeconds(3),