Skip to content

Commit

Permalink
Remove manual reconnect of logging websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Dec 17, 2024
1 parent f107ca4 commit 6a8b32a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ui/src/serverIO.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,13 +438,6 @@ class ServerIO {

this.loggingSocket.on('disconnect', (reason) => {
console.log('loggingSocket disconnected!'); // eslint-disable-line no-console

if (reason === 'io server disconnect') {
const socket = this.loggingSocket;
setTimeout(() => {
socket.connect();
}, 500);
}
});

this.loggingSocket.on('log_record', (record) => {
Expand Down

0 comments on commit 6a8b32a

Please sign in to comment.