I've got some code that is both hosting a webserver and polling sensors for data.
The sensor polling uses timeouts to provide a wait time for the sensor to respond, and the webserver uses the standard pageRequest function to parse the request and serve information back to the client. html, js and css files are held in storage and are read out in chunks on request.
I'm assuming its something to do with timers, and the storage module as I can disable the polling and it works fine.
this was all working fine in version 2.8, but I tried version 2.10 yesterday and now if try and load the page served by the module whilst running the polling loop I get the error 'Execution Interrupted during event processing.' I get this lots of times.
Any thoughts on what might have changed between v2.8 and v2.10 that might cause this and how one might resolve the issue.
© Espruino, powered by microcosm.
Report a problem