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

Fixing Streamed Output Misalignment #1381

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

kiedeng
Copy link

@kiedeng kiedeng commented Jul 4, 2024

When running stream_output_via_api.py with Flask, if there are multiple concurrent requests, a situation may arise where the responses are mismatched: data meant for request A is returned to request B. The main reason for this issue is the failure to initialize member variables properly during instantiation. The instantiation occurs at: stream_pipe = StreamPipe().

@shenchucheng
Copy link
Collaborator

LGTM

@geekan geekan merged commit b8c39a4 into geekan:main Jul 16, 2024
0 of 2 checks passed
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.

None yet

4 participants