|
|
@ -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( |
|
|
|