Skip to content

Commit

Permalink
Debounce node availability a bit (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt authored Nov 6, 2023
1 parent d38e5b3 commit fd69a5c
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 @@ -758,7 +758,7 @@ def resubscription_attempted(
nextResubscribeIntervalMsec,
)
# mark node as unavailable and signal consumers
if node.available:
if nextResubscribeIntervalMsec > 10000 and node.available:
node.available = False
self.server.signal_event(EventType.NODE_UPDATED, node)

Expand Down

0 comments on commit fd69a5c

Please sign in to comment.