Skip to content

Illustrate the point of graceful shutdownΒ #3

@dgroomes

Description

@dgroomes

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions