mirror of
https://github.com/Readarr/Readarr
synced 2026-04-11 15:33:23 +02:00
Fixed: Retrying download on not suppressed HTTP errors
This commit is contained in:
parent
9957f734a5
commit
fd4a609f51
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,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 a new issue