mirror of https://github.com/jetkvm/kvm.git
Extend retries to 2000
(which is 20000 seconds after backing off)
This commit is contained in:
parent
70cd19ddbc
commit
0ef128e6f2
|
|
@ -218,7 +218,7 @@ export default function KvmIdRoute() {
|
||||||
const ignoreOffer = useRef(false);
|
const ignoreOffer = useRef(false);
|
||||||
const isSettingRemoteAnswerPending = useRef(false);
|
const isSettingRemoteAnswerPending = useRef(false);
|
||||||
const makingOffer = useRef(false);
|
const makingOffer = useRef(false);
|
||||||
const reconnectAttemptsRef = useRef(20);
|
const reconnectAttemptsRef = useRef(2000);
|
||||||
|
|
||||||
const wsProtocol = window.location.protocol === "https:" ? "wss:" : "ws:";
|
const wsProtocol = window.location.protocol === "https:" ? "wss:" : "ws:";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue