You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Tesla API's current most common way to break is by hanging forever, and the Python scripts currently let it. This is particularly pernicious for refresh, which can run during module startup and prevent other parts of initialization from ever running. This fix might take a couple possible forms:
Use Promise.race(...) to create a timeout on the async-spawn calls, so that we can abandon the Python invocations if they take too long.
Add timeouts to the HTTP calls within the Python scripts such that they are guaranteed to complete in a finite and reasonable amount of time.
The text was updated successfully, but these errors were encountered:
The Tesla API's current most common way to break is by hanging forever, and the Python scripts currently let it. This is particularly pernicious for refresh, which can run during module startup and prevent other parts of initialization from ever running. This fix might take a couple possible forms:
Promise.race(...)
to create a timeout on the async-spawn calls, so that we can abandon the Python invocations if they take too long.The text was updated successfully, but these errors were encountered: