This commit is contained in:
@@ -23,7 +23,7 @@ namespace AyaNova.PlugIn.V8
|
||||
public const string API_BASE_ROUTE = "api/v8/";
|
||||
private const int MAX_TRIES = 3;//max times to retry an api call before giving up
|
||||
private const int API_RETRY_DELAY = 3000;//pause in ms before retrying api call
|
||||
private const int HTTPCLIENT_TIMEOUT_SECONDS = 1200;//default for all ops, normally 100seconds but would kill large file uploads
|
||||
public static int HTTPCLIENT_TIMEOUT_SECONDS = 30;//default for all ops, normally 100seconds but would kill large file uploads
|
||||
public static HttpClient client = null;
|
||||
//url once known to be good
|
||||
internal static string ApiBaseUrl { get; set; }
|
||||
@@ -40,7 +40,7 @@ namespace AyaNova.PlugIn.V8
|
||||
|
||||
|
||||
#region INIT / AUTH
|
||||
private static void InitClient()
|
||||
public static void InitClient()
|
||||
{
|
||||
if (client != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user