feat: add LetsMesh configuration and handler integration in StorageCollector

This commit is contained in:
Lloyd
2025-11-18 22:23:09 +00:00
parent 11354fcf46
commit 306beea7a0
5 changed files with 68 additions and 13 deletions
+3 -1
View File
@@ -76,7 +76,9 @@ class RepeaterHandler(BaseHandler):
# Storage collector for persistent packet logging
try:
self.storage = StorageCollector(config)
local_identity = dispatcher.local_identity if dispatcher else None
self.storage = StorageCollector(config, local_identity)
logger.info("StorageCollector initialized successfully")
except Exception as e:
logger.error(f"Failed to initialize StorageCollector: {e}")