mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 19:26:31 +00:00
failsafe load dlls
add user config queue offsets throttle improvements
This commit is contained in:
@@ -9,6 +9,9 @@ public class SecurityConstants
|
||||
public const string DUMMY_DIR = "dummy";
|
||||
|
||||
#region ExternalClientsConfig
|
||||
//public const string API_URL = "http://localhost:5219";
|
||||
public const string API_URL = "https://api.azaion.com";
|
||||
|
||||
public const string EXTERNAL_INFERENCE_PATH = "azaion-inference.exe";
|
||||
public const string EXTERNAL_GPS_DENIED_FOLDER = "gps-denied";
|
||||
public static readonly string ExternalGpsDeniedPath = Path.Combine(EXTERNAL_GPS_DENIED_FOLDER, "image-matcher.exe");
|
||||
@@ -22,6 +25,13 @@ public class SecurityConstants
|
||||
public const int DEFAULT_RETRY_COUNT = 25;
|
||||
public const int DEFAULT_TIMEOUT_SECONDS = 5;
|
||||
|
||||
# region Cache keys
|
||||
|
||||
public const string CURRENT_USER_CACHE_KEY = "CurrentUser";
|
||||
public const string HARDWARE_INFO_KEY = "HardwareInfo";
|
||||
|
||||
# endregion
|
||||
|
||||
public static readonly SecureAppConfig DefaultSecureAppConfig = new()
|
||||
{
|
||||
InferenceClientConfig = new InferenceClientConfig
|
||||
@@ -29,8 +39,7 @@ public class SecurityConstants
|
||||
ZeroMqHost = DEFAULT_ZMQ_INFERENCE_HOST,
|
||||
ZeroMqPort = DEFAULT_ZMQ_INFERENCE_PORT,
|
||||
OneTryTimeoutSeconds = DEFAULT_TIMEOUT_SECONDS,
|
||||
RetryCount = DEFAULT_RETRY_COUNT,
|
||||
ResourcesFolder = ""
|
||||
RetryCount = DEFAULT_RETRY_COUNT
|
||||
},
|
||||
GpsDeniedClientConfig = new GpsDeniedClientConfig
|
||||
{
|
||||
@@ -38,6 +47,10 @@ public class SecurityConstants
|
||||
ZeroMqPort = DEFAULT_ZMQ_GPS_DENIED_PORT,
|
||||
OneTryTimeoutSeconds = DEFAULT_TIMEOUT_SECONDS,
|
||||
RetryCount = DEFAULT_RETRY_COUNT,
|
||||
},
|
||||
DirectoriesConfig = new DirectoriesConfig
|
||||
{
|
||||
ApiResourcesDirectory = ""
|
||||
}
|
||||
};
|
||||
#endregion ExternalClientsConfig
|
||||
|
||||
Reference in New Issue
Block a user