Fixed: Retrying download for pushed releases

ignore-downstream
#6752
pull/6580/head^2
Bogdan 1 month ago committed by GitHub
parent 04bd535cfc
commit efb3fa93e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save