mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:46:30 +00:00
refactor external clients
put model batch size as parameter in config
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace Azaion.CommonSecurity.DTO;
|
||||
|
||||
public abstract class ExternalClientConfig
|
||||
{
|
||||
public string ZeroMqHost { get; set; } = "";
|
||||
public int ZeroMqPort { get; set; }
|
||||
public double OneTryTimeoutSeconds { get; set; }
|
||||
public int RetryCount {get;set;}
|
||||
}
|
||||
|
||||
public class InferenceClientConfig : ExternalClientConfig
|
||||
{
|
||||
public string ResourcesFolder { get; set; } = "";
|
||||
}
|
||||
|
||||
public class GpsDeniedClientConfig : ExternalClientConfig;
|
||||
Reference in New Issue
Block a user