mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed: Retrying download on not suppressed HTTP errors
This commit is contained in:
parent
2e242aeb7b
commit
b0038dd143
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue