Commit 6ca8783
Add connection timeout to DownloadManager session.get()
The HTTP connection (session.get) had no timeout, only individual chunk
reads did. If the TCP connection or TLS handshake stalled, the entire
async balance fetch loop would hang forever. This was observed on ESP32
devices where intermittent WiFi issues caused session.get() to never
return, freezing the wallet UI on "Connecting to backend".
Uses the existing _CHUNK_TIMEOUT_SECONDS (10s) for the connection timeout.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>1 parent c30db3e commit 6ca8783
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments