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", Path = "/ws",
Query = $"clientId={ClientId}" Query = $"clientId={ClientId}"
}.Uri; }.Uri;
webSocketClient = new WebsocketClient(wsUri) webSocketClient = new WebsocketClient(wsUri)
{ {
ReconnectTimeout = TimeSpan.FromSeconds(30), Name = "ComfyClient",
ReconnectTimeout = TimeSpan.FromSeconds(30)
}; };
webSocketClient.DisconnectionHappened.Subscribe( webSocketClient.DisconnectionHappened.Subscribe(

Loading…
Cancel
Save