Read the statement by Michael Teeuw here.
JSON request module
-
@ELMAGO Hi,
i just released a new version of the module which has a new option
delayNext
that can be added to each command.
The module then starts the command and waits this amount of milliseconds before the next one is processed.
So in your case you can add adelayNext: 1000
to each of the commands to give your server some time between the calls. -
@wishmaster270 you could make it support multi instance easily
in the modulename.js when u sendSocketNotification… add the module id to the data
in the node_helper, send the id back
in the modulename.js in receiveSocketNotification
check that the returned id matches this instances idsendSocketNotification from the node_helper is a broadcast , all instances get it at the same time, thus the need for the check.
-
@sdetweil Hi Sam, I will check that for the next release.
I already added something similar to one of my other modules but did not know that there is a module id already and added a uuid instead. -
-
ok, i test
-