Description
A critical error has been detected where the DB connection pool limit is being exceeded in context.ts, causing Postgres queries to hang and leading to database session token validation failures within the tRPC auth context.
Impact
- Validation of database session tokens is failing.
- Postgres queries are hanging, potentially affecting transaction integrity and app performance.
Steps to Reproduce
- Trigger multiple auth sessions.
- Observe connection failures and query hangs logged in Sentry.
Severity
Suggested Solutions
- Investigate connection pool settings and increase limits.
- Optimize usage of connection pooling in
context.ts. - Consider implementing a retry mechanism for failed queries.
References
Please prioritize this issue given its critical nature.
Description
A critical error has been detected where the DB connection pool limit is being exceeded in
context.ts, causing Postgres queries to hang and leading to database session token validation failures within the tRPC auth context.Impact
Steps to Reproduce
Severity
Suggested Solutions
context.ts.References
Please prioritize this issue given its critical nature.