shutdownTimeout property
On SIGTERM or SIGINT the server stops taking new connections, and
waits this long for open requests to finish. Then it closes the rest,
runs DoxShutdown services and exits. Default 8 seconds. Keep it
below the kill timeout of your platform (docker stop: 10 seconds).
Implementation
final Duration shutdownTimeout;