mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Reduce the retry time
This commit is contained in:
parent
3384ba90fc
commit
795e691bdb
6 changed files with 18 additions and 14 deletions
|
@ -65,9 +65,7 @@ namespace PlexRequests.Api
|
|||
|
||||
var obj = RetryHandler.Execute(() => Api.ExecuteJson<JObject>(request, baseUrl),
|
||||
(exception, timespan) => Log.Error(exception, "Exception when calling AddMovie for CP, Retrying {0}", timespan), new[] {
|
||||
TimeSpan.FromSeconds (2),
|
||||
TimeSpan.FromSeconds(5),
|
||||
TimeSpan.FromSeconds(10)});
|
||||
TimeSpan.FromSeconds (2)});
|
||||
|
||||
|
||||
if (obj.Count > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue