Skip to content

custom non blocking reader#322

Merged
devhawk merged 2 commits into
mainfrom
devhawk/moar-ws-fix
Mar 24, 2026
Merged

custom non blocking reader#322
devhawk merged 2 commits into
mainfrom
devhawk/moar-ws-fix

Conversation

@devhawk
Copy link
Copy Markdown
Collaborator

@devhawk devhawk commented Mar 24, 2026

The previous import workflow streaming approach used PipedReader, which would block the web socket when receive many chunks of a single message (like say a large import). Replaced PipedReader with a custom reader that stores all the received text chunks in a queue w/o blocking the web socket thread

Copy link
Copy Markdown
Member

@kraftp kraftp left a comment

Choose a reason for hiding this comment

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

Just to make sure, we've run all the Conductor tests (in the Conductor repo) against this and it works?

@devhawk
Copy link
Copy Markdown
Collaborator Author

devhawk commented Mar 24, 2026

Just to make sure, we've run all the Conductor tests (in the Conductor repo) against this and it works?

running them locally now

@devhawk
Copy link
Copy Markdown
Collaborator Author

devhawk commented Mar 24, 2026

Just to make sure, we've run all the Conductor tests (in the Conductor repo) against this and it works?

running them locally now

image

@devhawk devhawk merged commit 5d702d1 into main Mar 24, 2026
20 of 24 checks passed
@devhawk devhawk deleted the devhawk/moar-ws-fix branch March 24, 2026 20:17
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.

2 participants