Fixed: Retrying download on not suppressed HTTP errors

ignore-downstream
pull/6755/head
Bogdan 3 weeks ago
parent b81c3ee4a8
commit cf9ecba0a0

@ -34,6 +34,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