mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-08-10 10:52:53 +02:00
Add mesh configuration for loop detection and update API endpoint handling
This commit is contained in:
@@ -918,6 +918,10 @@ class RepeaterHandler(BaseHandler):
|
||||
"rx_delay_base": delays_config.get("rx_delay_base", 0.0),
|
||||
},
|
||||
"web": self.config.get("web", {}), # Include web configuration
|
||||
"mesh": {
|
||||
"loop_detect": self.config.get("mesh", {}).get("loop_detect", "off"),
|
||||
"global_flood_allow": self.config.get("mesh", {}).get("global_flood_allow", True),
|
||||
},
|
||||
},
|
||||
"public_key": None,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user