Skip to content

Commit

Permalink
Optimize commission and (re)subscription flows (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt authored Dec 22, 2023
1 parent 6204809 commit 8e0978d
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 141 deletions.
1 change: 0 additions & 1 deletion matter_server/common/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ class MatterNodeData:
attribute_subscriptions: set[tuple[int | None, int | None, int | None]] = field(
default_factory=set
)
last_subscription_attempt: float = 0


@dataclass
Expand Down
1 change: 1 addition & 0 deletions matter_server/server/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def main() -> None:
coloredlogs.install(level=args.log_level.upper())
if not logging.getLogger().isEnabledFor(logging.DEBUG):
logging.getLogger("chip").setLevel(logging.WARNING)
logging.getLogger("PersistentStorage").setLevel(logging.WARNING)

# make sure storage path exists
if not os.path.isdir(args.storage_path):
Expand Down
Loading

0 comments on commit 8e0978d

Please sign in to comment.