EternityForest / KaithemAutomation

Pure Python, GUI-focused home automation/consumer grade SCADA
GNU General Public License v3.0
49 stars 5 forks source link

Websockets are very slow to start up if the network is crappy #3

Closed EternityForest closed 11 months ago

EternityForest commented 2 years ago

I don't know if there's a workaround for this, but it seems everything hangs on socket.sendall() after the first send. One message usually gets through, the next hangs for up to 30s or so, then all is normal.

This may have something to do with Nighthawk mesh routing.

EternityForest commented 11 months ago

Websocket widgets now have their own threads and this should be much less disruptive even on terrible networks.