fix
All checks were successful
Build and Deploy MITM Webserver / traffic_target (push) Successful in 0s
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2026-03-09 16:50:19 +01:00
parent 40d8b15417
commit 76dda73827

View File

@@ -542,7 +542,8 @@ async def websocket_network_state(ws: WebSocket) -> None:
queue: Optional[asyncio.Queue] = None queue: Optional[asyncio.Queue] = None
try: try:
await ws.send_json({"type": "network_state", "reason": "initial", "snapshot": build_full_state_payload()}) initial_snapshot = await asyncio.to_thread(build_full_state_payload)
await ws.send_json({"type": "network_state", "reason": "initial", "snapshot": initial_snapshot})
queue = await broadcaster.subscribe() queue = await broadcaster.subscribe()
while True: while True: