배포 오류 해결

This commit is contained in:
dohyeons 2025-12-11 15:29:25 +09:00
parent 3f1ecfab15
commit 308c78b067
1 changed files with 0 additions and 9 deletions

View File

@ -153,15 +153,6 @@ class MySQLPoolWrapper implements ConnectionPoolWrapper {
`[${this.dbType.toUpperCase()}] 연결 반환 (${this.activeConnections}/${this.maxConnections})`
);
});
// 연결 오류 이벤트 처리
this.pool.on("error", (err) => {
logger.error(`[${this.dbType.toUpperCase()}] 연결 풀 오류:`, err);
// 연결이 닫힌 경우 플래그 설정
if (err.message.includes("closed state")) {
this.isPoolClosed = true;
}
});
}
async query(sql: string, params?: any[]): Promise<any> {