fix queue update

This commit is contained in:
Alex Bezdieniezhnykh
2025-05-02 17:45:30 +03:00
parent 472ed6533e
commit 24442869c0
11 changed files with 24 additions and 22 deletions
@@ -38,7 +38,7 @@ public class InferenceClient : IInferenceClient
process.StartInfo = new ProcessStartInfo
{
FileName = SecurityConstants.EXTERNAL_INFERENCE_PATH,
//Arguments = $"-e {credentials.Email} -p {credentials.Password} -f {apiConfig.ResourcesFolder}",
Arguments = $"--port {_inferenceClientConfig.ZeroMqPort} --api {_inferenceClientConfig.ApiUrl}",
//RedirectStandardOutput = true,
//RedirectStandardError = true,
//CreateNoWindow = true
@@ -57,7 +57,6 @@ public class InferenceClient : IInferenceClient
_dealer.Options.Identity = Encoding.UTF8.GetBytes(_clientId.ToString("N"));
_dealer.Connect($"tcp://{_inferenceClientConfig.ZeroMqHost}:{_inferenceClientConfig.ZeroMqPort}");
}
private async Task ProcessClientCommands()
{
//TODO: implement always on ready to client's requests. Utilize RemoteCommand