Open rejestracjebc opened 9 years ago
Yes, I have the same issue. It doesn’t bother me much because the websocket communication (i.e., the buttons) are pretty much instantaneous. But yes, something’s off, 5+ seconds is way too long.
Thanks for reply! Thing is i have sometimes +11 seconds and its getting me furious. Does anyone know why this happens? I have rasp pi b+
No idea, no. A crude idea would be simply inserting a bunch of console.log(Date.now())
s in all relevant functions.
GET / 200 10095ms - 3.76kb! GET /login 200 7386ms - 2.58kb Its everytime i click any link on heimcontrol
Arduino is connected Logs here:
pi@raspberrypi ~/heimcontrol.js $ node heimcontrol.js WARNING: Change secret string in config/development.json info - socket.io started connect.multipart() will be removed in connect 3.0 visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives connect.limit() will be removed in connect 3.0 heimcontrol.js listening on port 8080 [WARNING] error while trying to connect to Arduino: