Nodejs express server on raspberry pi to read from hardware
I have nodejs with an express server on my raspberry pi and read the
temperature of a sensor on a GET request and read the humidity from a
second sensor on another GET endpoint. Now if the timing is "bad", both
are invoked exactly at the same time. This seems to cause a deadlock since
none of the GET requests returns and is pending forever in chrome. Any
thoughts? I am absolutely baffled. :(
No comments:
Post a Comment