u
This commit is contained in:
@@ -48,7 +48,7 @@ class App extends React.Component {
|
|||||||
if (this.websocket.readyState === WebSocket.OPEN) {
|
if (this.websocket.readyState === WebSocket.OPEN) {
|
||||||
this.websocket.send(JSON.stringify({ type: 'ping' }));
|
this.websocket.send(JSON.stringify({ type: 'ping' }));
|
||||||
}
|
}
|
||||||
}, 30000);
|
}, 10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
|||||||
Reference in New Issue
Block a user