Graceful Shutdown Hooks in NestJS 9 and Pending WebSocket Connection Handling
Goal: Achieve zero‑downtime migration of a small NestJS 9 application that uses the Express adapter and @nestjs/websockets by enabling graceful shutdown hooks so that in‑flight HTTP requests finish before the process exits. Uncertainty: While app.enableShutdownHooks() guarantees that HTTP handlers complete, it is unclear whether the same mechanism reliably t