Skip to content

Commit

Permalink
change wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Jun 27, 2023
1 parent 8f5ee31 commit 2205e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matter_server/server/device_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ async def _subscribe_node(self, node_id: int) -> None:
if len(attr_subscriptions) > 50:
# prevent memory overload on node and fallback to wildcard sub if too many
# individual subscriptions
attr_subscriptions = [tuple()]
attr_subscriptions = "*"
async with node_lock:
sub: Attribute.SubscriptionTransaction = await self.chip_controller.Read(
nodeid=node_id,
Expand Down

0 comments on commit 2205e93

Please sign in to comment.