mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-07 19:42:49 +01:00
Fixed: Retrying download on not suppressed HTTP errors
This commit is contained in:
parent
c8a6b9f565
commit
3db78079f3
@ -34,6 +34,7 @@ public abstract class DownloadClientBase<TSettings> : IDownloadClient
|
||||
{
|
||||
{ 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…
Reference in New Issue
Block a user