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?
This repo makes a show of implementing graceful shutdown (
wiremock-playground/programmatic/src/main/java/dgroomes/wiremock/WireMockUtil.java
Line 21 in 813721e
From the perspective of a developer using WireMock (or Jetty), what is graceful shutdown useful?
Does it mean I can
Ctrl + Cto 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?