Skip to content

Commit

Permalink
Disable PASE for operational node discovery (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt authored Dec 7, 2023
1 parent 6eb814e commit 7a4c435
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions matter_server/server/device_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,10 +935,10 @@ async def _resolve_node(
LOGGER.debug("Attempting to resolve node %s...", node_id)
await self._call_sdk(
self.chip_controller.GetConnectedDeviceSync,
# By default we do not allow PASE and we use the SDK's default timeout.
# Once we keep retrying we try the final attempt(s) with PASE and
allowPASE=False,
# For the first attempts we use the SDK's default timeout.
# Once we keep retrying we try the final attempt(s)
# with an extended timeout.
allowPASE=attempt >= 4,
timeoutMs=30000 if attempt >= 3 else None,
nodeid=node_id,
)
Expand Down

0 comments on commit 7a4c435

Please sign in to comment.