-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix: allow multiple connections to work with the runner #31
Conversation
WinPlay02
commented
Dec 16, 2023
•
edited
Loading
edited
- fix: allow multiple websocket connections in parallel (custom threading / multiprocessing is initialized before patching for use with gevent)
- feat: send events (during execution) to all connected (listening) websocket connections
- Queries (placeholder_query) is still using a request-response pattern and does not multicast to all connections
- green thread pool size for connections is limited to 8 for now
Use Request-Response for placeholder queries
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
…egistered multiple times test: change tests to always receive pending messages, even when mock connection sent EOF
… into fix-multiconnection
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #31 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 10
Lines 368 377 +9
=========================================
+ Hits 368 377 +9 ☔ View full report in Codecov by Sentry. |
…treated as non-test (prefix)
… into fix-multiconnection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks excellent. Just some small suggestions left.
Co-authored-by: Lars Reimann <[email protected]>
## [0.5.0](v0.4.0...v0.5.0) (2024-01-26) ### Features * added json serializer that encodes tables and images ([#29](#29)) ([054cca4](054cca4)), closes [#20](#20) * Memoization ([#38](#38)) ([2a26b48](2a26b48)) * Replace flask with quart ([#43](#43)) ([5520b68](5520b68)), closes [#42](#42) * support placeholder queries that only request a subset of data ([#39](#39)) ([dae57dc](dae57dc)) * update to safe-ds 0.17.1 + server refactor ([#37](#37)) ([1bcad07](1bcad07)) ### Bug Fixes * allow multiple connections to work with the runner ([#31](#31)) ([64685a3](64685a3))
🎉 This PR is included in version 0.5.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |