Fixed: Retrying download on not suppressed HTTP errors

pull/4754/head v2.3.1.4171
Bogdan 3 weeks ago
parent 2e242aeb7b
commit b0038dd143

@ -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),

Loading…
Cancel
Save