Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WebSocket sender to avoid extra utf-8 decode/encode round-trip #713

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Nov 13, 2024

closes #676

requirements.txt Outdated Show resolved Hide resolved
Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 38.71%. Comparing base (4aee4d1) to head (cd490e4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #713      +/-   ##
==========================================
+ Coverage   38.69%   38.71%   +0.01%     
==========================================
  Files          15       15              
  Lines        1442     1444       +2     
==========================================
+ Hits          558      559       +1     
- Misses        884      885       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bdraco bdraco marked this pull request as ready for review November 14, 2024 16:55
Copy link
Collaborator

@bieniu bieniu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, tested with real device.

Copy link
Collaborator

@chemelli74 chemelli74 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick tests shows green light

@bdraco
Copy link
Member Author

bdraco commented Nov 14, 2024

No rush to release this. It can come in whenever we do another bump.

@bdraco bdraco merged commit d9e91b6 into main Nov 14, 2024
5 checks passed
@bdraco bdraco deleted the ws_roundtrip branch November 14, 2024 22:28
@bdraco
Copy link
Member Author

bdraco commented Nov 14, 2024

Thanks for the 👀

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.

Switch send_json to use send_frame once aiohttp 3.11 is available to avoid extra decode/code cycle
4 participants