Skip to content

syl/fix setup shutdown bug #1819

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

Merged
merged 2 commits into from
Jul 23, 2024
Merged

syl/fix setup shutdown bug #1819

merged 2 commits into from
Jul 23, 2024

Conversation

technillogue
Copy link
Contributor

@technillogue technillogue commented Jul 23, 2024

  • start with just changing Exception to BaseException to catch cancellation

@technillogue technillogue changed the base branch from main to async July 23, 2024 19:36
@technillogue technillogue requested a review from mattt July 23, 2024 19:36
@technillogue technillogue merged commit 9f49b29 into async Jul 23, 2024
8 checks passed
@technillogue technillogue deleted the syl/fix-setup-shutdown-bug branch July 23, 2024 22:01
technillogue added a commit that referenced this pull request Aug 6, 2024
* start with just changing Exception to BaseException to catch cancellation
* add much more shutdown logging

move runner.terminate into runner.shutdown after waiting for predictions to complete

* move runner.terminate into shutdown, make it async, and document the behavior of Server.stop, should_exit, force_exit, and app shutdown handler,
* fix tests

---------

Signed-off-by: technillogue <technillogue@gmail.com>
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