Skip to content

Commit 184f166

Browse files
ferdinandjarischrumpelsepp
authored andcommitted
chore(scan-identifiers): Explicitly set retries to match comment
1 parent 8e401eb commit 184f166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gallia/commands/scan/uds/identifiers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def perform_scan(self, session: None | int = None) -> None:
128128
and (DID % self.config.check_session == 0)
129129
):
130130
# Check session and try to recover from wrong session (max 3 times), else skip session
131-
if not await self.ecu.check_and_set_session(session):
131+
if not await self.ecu.check_and_set_session(session, retries=3):
132132
logger.error(
133133
f"Aborting scan on session {g_repr(session)}; current DID was {g_repr(DID)}"
134134
)

0 commit comments

Comments
 (0)