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

Fixes #7592: remove the wait_for wrapper around await site.start() when starting HTTP REST API server #7617

Merged

Conversation

kozlovsky
Copy link
Contributor

This PR fixes the core issue of #7592. The wait_for wrapper actually didn't do anything useful here and provoked the TimeoutError. The server itself should start almost immediately, especially now, as it is directly called in the current coroutine. In case it freezes on some machine, we should be able to detect it by looking at the result of the slow coroutine detector.

@kozlovsky kozlovsky requested review from a team and egbertbouman and removed request for a team October 2, 2023 12:24
…start()` when starting HTTP REST API server
@kozlovsky kozlovsky merged commit 1cfc5d3 into Tribler:release/7.13 Oct 2, 2023
4 checks passed
@kozlovsky kozlovsky deleted the fix/7592_core_crashed_error branch October 2, 2023 22:55
kozlovsky added a commit to kozlovsky/tribler that referenced this pull request Oct 2, 2023
kozlovsky added a commit that referenced this pull request Oct 3, 2023
Clean up rest_manager.py after removing wait_for in #7617
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.

2 participants