Browse Source

Add client name

pull/165/head
Ionite 1 year ago
parent
commit
e7e98c05ed
No known key found for this signature in database
  1. 4
      StabilityMatrix.Core/Inference/ComfyClient.cs

4
StabilityMatrix.Core/Inference/ComfyClient.cs

@ -80,9 +80,11 @@ public class ComfyClient : InferenceClientBase
Path = "/ws",
Query = $"clientId={ClientId}"
}.Uri;
webSocketClient = new WebsocketClient(wsUri)
{
ReconnectTimeout = TimeSpan.FromSeconds(30),
Name = "ComfyClient",
ReconnectTimeout = TimeSpan.FromSeconds(30)
};
webSocketClient.DisconnectionHappened.Subscribe(

Loading…
Cancel
Save