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

Fix long shutdown #7315

Merged
merged 4 commits into from
Mar 14, 2023
Merged

Fix long shutdown #7315

merged 4 commits into from
Mar 14, 2023

Conversation

drew2a
Copy link
Contributor

@drew2a drew2a commented Mar 10, 2023

This PR fixes #7314

@drew2a drew2a marked this pull request as ready for review March 13, 2023 07:08
@drew2a drew2a requested review from a team and kozlovsky and removed request for a team March 13, 2023 07:08
Copy link
Contributor

@kozlovsky kozlovsky left a comment

Choose a reason for hiding this comment

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

The fixes look good but are a bit incomplete. Right now, it forcefully closes the opened connections with a reduced timeout. I think the proper closing of the EventsEndpoint streamed response is a better way to handle this. Then the short timeout is not as necessary, as all connections are able to close properly without hitting the timeout.

@kozlovsky kozlovsky self-requested a review March 14, 2023 07:36
@drew2a drew2a merged commit fd5349d into Tribler:main Mar 14, 2023
@drew2a drew2a deleted the fix/7314 branch March 14, 2023 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[main] Long Tribler's shutdown
2 participants