Use a more robust way to do the dashboard "loop"
The old way was very error-prone; eg. miss an update due to bad network conditions or hibernation, and that's it, it would stop forever. Use setInterval() instead so that it keeps going even if there is some error.
Showing with 2 additions and 2 deletions