Skip to content

Commit

Permalink
telemetry V6
Browse files Browse the repository at this point in the history
  • Loading branch information
Willtura committed Apr 4, 2024
1 parent d8a103a commit 5d0225e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/telemetry/webapp/data_stream/websocket_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ async def send_text(self, text: str) -> bool | None:

async def rec_messages(self) -> None:
"""Receive messages from the websocket."""

while True:
data = await self.ws.receive_text()
if data == "toggle":
Expand All @@ -72,7 +71,6 @@ def add_socket(self, name: str, websocket: WebSocket) -> WebsocketDataStream:
:param websocket: The websocket instance.
:return: The websocket data stream.
"""

if name not in self.websocket_clients:
self.websocket_clients[name] = []

Expand Down

0 comments on commit 5d0225e

Please sign in to comment.