Revert "IsoTpParallelQuery: extend timeout for every frame type" (#29693)

* Revert "IsoTpParallelQuery: extend timeout for every frame type (#29654)"

This reverts commit a160f1a624.

* bump

* bump to master

* figure out a clean way to exclude segments

* revert

* bump
This commit is contained in:
Shane Smiskol
2023-08-28 23:27:58 -07:00
committed by GitHub
parent 67177b2ca3
commit ddddc7a8cb
2 changed files with 4 additions and 4 deletions
+1 -1
Submodule panda updated: 0eb04fae67...ca9d8675b9
+3 -3
View File
@@ -104,14 +104,14 @@ class IsoTpParallelQuery:
for tx_addr, msg in msgs.items():
try:
dat, updated = msg.recv()
dat, rx_in_progress = msg.recv()
except Exception:
cloudlog.exception(f"Error processing UDS response: {tx_addr}")
request_done[tx_addr] = True
continue
# Extend timeout for each valid ISO-TP frame to avoid timing out on long responses
if updated:
# Extend timeout for each consecutive ISO-TP frame to avoid timing out on long responses
if rx_in_progress:
addrs_responded.add(tx_addr)
response_timeouts[tx_addr] = time.monotonic() + timeout