File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1187,9 +1187,11 @@ def _on_mdns_operational_node_state(
11871187 # mdns events for matter devices arrive in bursts of (duplicate) messages
11881188 # so we debounce this as we only use the mdns messages for operational node discovery
11891189 # and we have other logic in place to determine node aliveness
1190+ now = time .time ()
11901191 last_seen = self ._node_last_seen .get (node_id , 0 )
1191- if node .available and time . time () - last_seen < MAX_NODE_SUBSCRIPTION_CEILING :
1192+ if node .available and now - last_seen < 60 :
11921193 return
1194+ self ._node_last_seen [node_id ] = now
11931195
11941196 # we treat UPDATE state changes as ADD if the node is marked as
11951197 # unavailable to ensure we catch a node being operational
You can’t perform that action at this time.
0 commit comments