Closed Privacywonk closed 6 years ago
in node_helper, modified all API socket configurations
Pseudo code:
if notification == xyz && this.started == false
then
Fetch information, store it in xyzPayload, send to main module
if notification == xyz && this.started == true
then
send xyzPayload to main module
Currently, if multiple clients connect to the MMM-Surf module new API requests will be sent to data providers. This isn't good behavior...need to cache the data and send that, then update all clients.