owntheweb / mars-rover-lab

Mars Rover Lab streams photos and other sensor data from its Raspberry Pi components to a satellite server where that content can be streamed to the world.
0 stars 1 forks source link

When rover disconnects then reconnects to web server, rover CPU skyrockets #2

Open owntheweb-archive opened 9 years ago

owntheweb-archive commented 9 years ago

Fix it! :D

owntheweb-archive commented 8 years ago

This was resolved by utilizing promises instead of callbacks in different areas, and restructuring code in various ways. A few good people set me straight in how I develop with node. I'll close this after testing the next round of updates to confirm what I say is true. :D