Description
Currently, when the server stops (SIGTERM/SIGINT), it abruptly closes connections. This can cause in-flight requests to fail.
Goals
- Close server gracefully on SIGTERM/SIGINT
- Wait for existing requests to complete
- Disconnect database properly
Description
Currently, when the server stops (SIGTERM/SIGINT), it abruptly closes connections. This can cause in-flight requests to fail.
Goals