fix: exit within 500ms after signal

This commit is contained in:
Nikhil Sonti
2026-01-05 12:01:56 -08:00
parent 1e964531a5
commit 1e672a9dd9

View File

@@ -91,7 +91,7 @@ export class Application {
const forceExitTimeout = setTimeout(() => {
logger.warn('Graceful shutdown timed out, forcing exit')
process.exit(1)
}, 5000)
}, 500)
Promise.all([
Promise.resolve(this.httpServer?.server.stop()),