increased timeouts
This commit is contained in:
parent
d47243a30f
commit
87ee7918ba
|
@ -411,7 +411,7 @@ window.initializeLANClient = (() => {
|
||||||
self.iceCandidateHandler(JSON.stringify(iceCandidates));
|
self.iceCandidateHandler(JSON.stringify(iceCandidates));
|
||||||
iceCandidates.length = 0;
|
iceCandidates.length = 0;
|
||||||
}
|
}
|
||||||
}, 1500);
|
}, 3000);
|
||||||
iceCandidates.push({ sdpMLineIndex: evt.candidate.sdpMLineIndex, candidate: evt.candidate.candidate });
|
iceCandidates.push({ sdpMLineIndex: evt.candidate.sdpMLineIndex, candidate: evt.candidate.candidate });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -533,7 +533,7 @@ window.initializeLANServer = (() => {
|
||||||
self.client.iceCandidateHandler(self.peerId, JSON.stringify(iceCandidates));
|
self.client.iceCandidateHandler(self.peerId, JSON.stringify(iceCandidates));
|
||||||
iceCandidates.length = 0;
|
iceCandidates.length = 0;
|
||||||
}
|
}
|
||||||
}, 1500);
|
}, 3000);
|
||||||
iceCandidates.push({ sdpMLineIndex: evt.candidate.sdpMLineIndex, candidate: evt.candidate.candidate });
|
iceCandidates.push({ sdpMLineIndex: evt.candidate.sdpMLineIndex, candidate: evt.candidate.candidate });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -82,7 +82,7 @@ public class EaglerSPRelay extends WebSocketServer {
|
||||||
Iterator<EaglerSPClient> itr = clientConnections.values().iterator();
|
Iterator<EaglerSPClient> itr = clientConnections.values().iterator();
|
||||||
while(itr.hasNext()) {
|
while(itr.hasNext()) {
|
||||||
EaglerSPClient cl = itr.next();
|
EaglerSPClient cl = itr.next();
|
||||||
if(millis - cl.createdOn > 6900l) {
|
if(millis - cl.createdOn > 10000l) {
|
||||||
cl.disconnect(IPacketFEDisconnectClient.TYPE_TIMEOUT, "Took too long to connect!");
|
cl.disconnect(IPacketFEDisconnectClient.TYPE_TIMEOUT, "Took too long to connect!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user