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
|
@ -33,7 +33,7 @@ namespace PlexRequests.Api
|
|||
{
|
||||
public static class RetryHandler
|
||||
{
|
||||
private static readonly TimeSpan[] DefaultRetryTime = { TimeSpan.FromSeconds(2), TimeSpan.FromSeconds(5), TimeSpan.FromSeconds(10) };
|
||||
private static readonly TimeSpan[] DefaultRetryTime = { TimeSpan.FromSeconds(2), TimeSpan.FromSeconds(5), TimeSpan.FromSeconds(5) };
|
||||
|
||||
public static T Execute<T>(Func<T> action, TimeSpan[] timeSpan = null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue