Skip to content

Commit

Permalink
fix: (Scan-uds-sessions): changed timeout from const value to shell a…
Browse files Browse the repository at this point in the history
…rg timeout
  • Loading branch information
ver33539 authored and rumpelsepp committed Oct 27, 2023
1 parent 603cef0 commit e3132f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gallia/commands/scan/uds/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ async def main(self, args: Namespace) -> None:
)
else:
logger.info("Waiting for the ECU to recover…")
await self.ecu.wait_for_ecu(timeout=5)
await self.ecu.wait_for_ecu(timeout=args.timeout)
except (asyncio.TimeoutError, ConnectionError):
logger.warning(
"Lost connection to the ECU after performing a reset. "
Expand Down

0 comments on commit e3132f5

Please sign in to comment.