add additional shutdown logging

This commit is contained in:
Hazelnoot 2025-06-25 21:39:09 -04:00
parent c79d66d48b
commit 4e609478f8
5 changed files with 20 additions and 0 deletions

View file

@ -309,8 +309,13 @@ export class ServerService implements OnApplicationShutdown {
@bindThis
public async dispose(): Promise<void> {
this.logger.info('Disconnecting WebSocket clients...');
await this.streamingApiServerService.detach();
this.logger.info('Disconnecting HTTP clients....;');
await this.#fastify.close();
this.logger.info('Server disposed.');
}
/**