Push devices and services state changes down socket.io to the browser. Polling for state changes turned out to be too unstable since every change causes the dns server to restart, and attempts to resolve while it is down throw an EAI_AGAIN error from getaddrinfo.
Push
devices
andservices
state changes downsocket.io
to the browser. Polling for state changes turned out to be too unstable since every change causes the dns server to restart, and attempts to resolve while it is down throw anEAI_AGAIN
error fromgetaddrinfo
.