Skip to content

Support graceful shutdown

The application should listen for the stop signal and handle a graceful shutdown in order to close the HTTP interface, process in-flight requests, finish committing changes and finally close the database.