mirror of https://github.com/jetkvm/kvm.git
PR feedback, keep trying to connect even if failed
This commit is contained in:
parent
1ca7713f3c
commit
cf48c1d9e2
|
|
@ -243,7 +243,7 @@ export default function KvmIdRoute() {
|
||||||
|
|
||||||
shouldReconnect(event: WebSocketEventMap['close']) {
|
shouldReconnect(event: WebSocketEventMap['close']) {
|
||||||
console.debug("[Websocket] shouldReconnect", event);
|
console.debug("[Websocket] shouldReconnect", event);
|
||||||
return !isLegacySignalingEnabled.current && !connectionFailed;
|
return !isLegacySignalingEnabled.current;
|
||||||
},
|
},
|
||||||
|
|
||||||
onClose(event: WebSocketEventMap['close']) {
|
onClose(event: WebSocketEventMap['close']) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue