rhysmorgan134 / node-CarPlay

MIT License
147 stars 25 forks source link

Fix timeout behavior in example #60

Closed steelbrain closed 1 year ago

steelbrain commented 1 year ago

This PR addresses when the dongle is bugging, and the page refreshes but 5 seconds is not enough for the dongle so it fails again.

This PR fixes it by increasing the timeout to 30 seconds and cancelling the timeout if it receives output from the dongle