Fix 100% cpu usage and terminal issue by downgrading Node.js to 18.17.1 (#186)

* Downgrade from Node.js 20 to Node.js 18.17.1

* Enable back socket.io polling

* Avoid multiple commands at the same for a stack
This commit is contained in:
Louis Lam
2023-11-26 17:51:26 +08:00
committed by GitHub
parent 0546f6a24e
commit b5f6919bab
5 changed files with 17 additions and 24 deletions

View File

@@ -109,7 +109,7 @@ export default defineComponent({
}, 1500);
socket = io(url, {
transports: [ "websocket" ]
transports: [ "websocket", "polling" ]
});
socket.on("connect", () => {