mirror of https://github.com/jetkvm/kvm.git
Better reporting of and process for OTA updating
Add ability to request a reload to LinkButton and Link Added exponential backoff to reconnection Made the number of reconnect attempts settable Doesn't attempt a reconnection if we intentionally disconnect Make sure the fire-and-forget for TURN activity doesn't result in unhandled promise rejection. Fix comment Added force page reload to the onClose events of update/reboot Ensure we get the correct UI version. Fixed comment about the system update progress Removed duplicate code between main and devices.$id The isOnDevice and checkAuth can be leveraged from devices.$id.tsx Extend retries to 2000 (which is 20000 seconds after backing off)
This commit is contained in:
parent
7955ee9d35
commit
1ca7713f3c
|
|
@ -243,7 +243,7 @@ export default function KvmIdRoute() {
|
|||
|
||||
shouldReconnect(event: WebSocketEventMap['close']) {
|
||||
console.debug("[Websocket] shouldReconnect", event);
|
||||
return !isLegacySignalingEnabled.current;
|
||||
return !isLegacySignalingEnabled.current && !connectionFailed;
|
||||
},
|
||||
|
||||
onClose(event: WebSocketEventMap['close']) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue