Skip to content

Fix: Remove blocking await in WebSocket handler#14

Open
Opthimo wants to merge 2 commits intoomnai-project:masterfrom
Opthimo:fix/websocket_block
Open

Fix: Remove blocking await in WebSocket handler#14
Opthimo wants to merge 2 commits intoomnai-project:masterfrom
Opthimo:fix/websocket_block

Conversation

@Opthimo
Copy link

@Opthimo Opthimo commented Jul 9, 2025

Fixes #12

Removed await task that was blocking the WebSocket message processing loop after the first command. This allows multiple commands to be processed in the same WebSocket session without causing 1011 errors or connection issues.

The server now correctly handles the expected workflow where new commands stop previous data streams and start new ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebSocket handler blocks after first command, causing 1011 errors

1 participant