✨ Add configurable request timeout to all HTTP calls #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/request-timeouts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P0 bug fix #5/5.
None of the HTTP calls passed a
timeout, so a hung connection blocks the caller forever (bad for the Home Assistant integration). AddsComwattClient(timeout=30)and passestimeout=self.timeoutto all 10 request calls. Default 30 s, configurable per instance. Backward compatible (ComwattClient()still works).py_compilepasses; all 10 calls verified to carry the timeout.