put ping back
This commit is contained in:
parent
e63d946e60
commit
627653924b
@ -39,6 +39,8 @@
|
||||
|
||||
*CLIENT*
|
||||
|
||||
fix info highlighting
|
||||
|
||||
theme toasts
|
||||
|
||||
mobile info page
|
||||
@ -50,12 +52,8 @@ reconnect based on time delta
|
||||
|
||||
consolidate game and instance
|
||||
|
||||
do not allow vbox actions for finished instances
|
||||
cause of logging
|
||||
|
||||
*SERVER*
|
||||
|
||||
* push events
|
||||
* test rust-ws w/ hyper upgrade
|
||||
* tx middleware
|
||||
|
||||
|
||||
@ -169,7 +169,7 @@ function createSocket(events) {
|
||||
let pongTimeout;
|
||||
function onPong() {
|
||||
events.setPing(Date.now() - ping);
|
||||
// pongTimeout = setTimeout(sendPing, 1000);
|
||||
pongTimeout = setTimeout(sendPing, 1000);
|
||||
}
|
||||
|
||||
// -------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user