it0/packages/shared
hailin 3cb9ebd407 fix: release QueryRunner connections to prevent pool exhaustion
TenantAwareRepository.getRepository() was calling createQueryRunner()
without ever releasing it, causing database connection pool exhaustion.
This caused ops-service (and eventually other services) to hang on
all API requests once the pool filled up.

Replaced getRepository() with withRepository() pattern that wraps
operations in try/finally to always release the QueryRunner.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 15:55:06 -08:00
..
common Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
database fix: release QueryRunner connections to prevent pool exhaustion 2026-02-23 15:55:06 -08:00
events Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
proto Initial commit: IT0 AI-powered server cluster operations platform 2026-02-08 22:54:37 -08:00
testing fix: add missing @it0/common dependency to @it0/testing 2026-02-19 04:48:49 -08:00