Skip to content

Commit

Permalink
increase interval ceiling
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Feb 22, 2024
1 parent bc0840e commit 0e1850d
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 @@ -1010,7 +1010,7 @@ def resubscription_succeeded(

node_logger.info("Setting up attributes and events subscription.")
interval_floor = 0
interval_ceiling = 300 if battery_powered else 30
interval_ceiling = 600 if battery_powered else 120
self._last_subscription_attempt[node_id] = 0
future = loop.create_future()
device = await self._resolve_node(node_id)
Expand Down

0 comments on commit 0e1850d

Please sign in to comment.