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

Complete python gRPC requests when closing #690

Merged
merged 2 commits into from
Nov 6, 2023
Merged

Complete python gRPC requests when closing #690

merged 2 commits into from
Nov 6, 2023

Conversation

cbornet
Copy link
Member

@cbornet cbornet commented Nov 6, 2023

No description provided.

Copy link
Member

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

+1

did you try the reload feature ?
I hope that this change doesn't break it.
Unfortunately it is to be tested manually, in order to see how it behaves for the user.

if we block waiting for the current response to complete and the application is broken then we don't want it to hang

@eolivelli
Copy link
Member

Also it seems that you have to rebase on top of main branch

@cbornet
Copy link
Member Author

cbornet commented Nov 6, 2023

I rebased and changed a bit the code.
The PR doesn't touch the restart procedure. It only affects the close and the tests.

@eolivelli eolivelli merged commit 2786328 into main Nov 6, 2023
10 checks passed
@eolivelli eolivelli deleted the fix-close branch November 6, 2023 14:05
@cbornet
Copy link
Member Author

cbornet commented Nov 6, 2023

I tested the restart manually. Works fine.

benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
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