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

Remove on_shutdown/set_pre_stop #1523

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

freider
Copy link
Contributor

@freider freider commented Mar 14, 2024

It causes occational exit spam, especially in tests, when an error occurs in the exit handler due to not being able to connect etc.

I think we don't need it anymore since _run_stub's finally-block appears to trigger disconnect properly on KeyboardInterrupt now. I haven't been able to repro the old race (CC @thundergolfer who fought with this bug back in the day)

It causes occational exit spam, especially in tests, when an error occurs in the
exit handler due to not being able to connect etc.

I *think* we don't need it anymore since `_run_stub`'s finally-block
appears to trigger disconnect on KeyboardInterrupt. I haven't been able
to repro the old race
@mwaskom
Copy link
Contributor

mwaskom commented Mar 14, 2024

Ah I think I had tried this and ran into the same issue — so lovely to be able to scroll right to the test results though!!!

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

2 participants