File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -932,15 +932,17 @@ async def _resolve_node(
932
932
# the sdk crashes when multiple resolves happen at the same time
933
933
# guard simultane resolves with a lock.
934
934
async with node_lock , self ._resolve_lock :
935
- LOGGER .debug ("Attempting to resolve node %s..." , node_id )
935
+ LOGGER .debug (
936
+ "Attempting to resolve node %s... (attempt %s of %s)" ,
937
+ node_id ,
938
+ attempt ,
939
+ retries ,
940
+ )
936
941
await self ._call_sdk (
937
942
self .chip_controller .GetConnectedDeviceSync ,
938
- allowPASE = False ,
939
- # For the first attempts we use the SDK's default timeout.
940
- # Once we keep retrying we try the final attempt(s)
941
- # with an extended timeout.
942
- timeoutMs = 30000 if attempt >= 3 else None ,
943
943
nodeid = node_id ,
944
+ allowPASE = False ,
945
+ timeoutMs = None ,
944
946
)
945
947
except (ChipStackError , TimeoutError ) as err :
946
948
if attempt >= retries :
You can’t perform that action at this time.
0 commit comments