You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor prisma-client and background-tasks for improved SIGTERM handling
- Reintroduced the ensurePolyfilled function in prisma-client.tsx to ensure environment variables are expanded.
- Simplified the PostgreSQL connection pool setup by removing dynamic pool size configuration, defaulting to a max of 25.
- Enhanced SIGTERM handling to ensure graceful shutdown of background tasks and database connections, with clearer comments for maintainability.
- Updated background-tasks.tsx to clarify the purpose of in-flight promises during shutdown.
These changes improve the reliability and clarity of the database connection management and shutdown process.
0 commit comments