feat(api): implement persistent messaging and graceful draining

Add shared sessions, cached message history and transactional idempotency backed by PostgreSQL. Return readiness 503 during draining and finish in-flight requests before closing dependencies.
This commit is contained in:
2026-10-29 11:46:28 +03:00
parent 298204dbe9
commit 24f32c3fbe
35 changed files with 2102 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import { Global, Module } from '@nestjs/common';
import { CacheService } from './cache.service';
@Global()
@Module({ providers: [CacheService], exports: [CacheService] })
export class CacheModule {}