From 627653924bc3e7f5b1c51463a61eab259a5a5bc2 Mon Sep 17 00:00:00 2001 From: ntr Date: Sun, 21 Jul 2019 20:41:41 +1000 Subject: [PATCH] put ping back --- WORKLOG.md | 6 ++---- client/src/socket.jsx | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/WORKLOG.md b/WORKLOG.md index 00e78a3b..3fe0dc12 100644 --- a/WORKLOG.md +++ b/WORKLOG.md @@ -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 diff --git a/client/src/socket.jsx b/client/src/socket.jsx index 0f55af96..580121a4 100644 --- a/client/src/socket.jsx +++ b/client/src/socket.jsx @@ -169,7 +169,7 @@ function createSocket(events) { let pongTimeout; function onPong() { events.setPing(Date.now() - ping); - // pongTimeout = setTimeout(sendPing, 1000); + pongTimeout = setTimeout(sendPing, 1000); } // -------------