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

Better error handling during force shutdown #2271

Merged
merged 1 commit into from Sep 24, 2020

Commits on Sep 23, 2020

  1. Better error handling during force shutdown

    Only allow `ForceShutdown` to be raised in a thread during specific areas of the
    connection-processing cycle (marked by `with_force_shutdown` blocks),
    to ensure that the raised error is always rescued and handled cleanly.
    Fixes an issue where the `force_shutdown_after: 0` option throws
    uncaught exceptions from the threadpool on shutdown.
    wjordan committed Sep 23, 2020
    Copy the full SHA
    fcfe784 View commit details
    Browse the repository at this point in the history