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

Illustrate the point of graceful shutdown #3

Open
dgroomes opened this issue May 10, 2020 · 0 comments
Open

Illustrate the point of graceful shutdown #3

dgroomes opened this issue May 10, 2020 · 0 comments

Comments

@dgroomes
Copy link
Owner

This repo makes a show of implementing graceful shutdown (

public static WireMockConfiguration shutdownGracefully(WireMockConfiguration options) {
) for the underlying Jetty server. But what does that mean? I don't even really know?

From the perspective of a developer using WireMock (or Jetty), what is graceful shutdown useful?

Does it mean I can Ctrl + C to kill WireMock? Does it mean the exit code will be a non-error exit code? Does it mean that Jetty will wait some time to actually let some long request finish instead of killing it before it can finish?

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

No branches or pull requests

1 participant