chpark-sync #425

Merged
kjs merged 293 commits from chpark-sync into main 2026-03-23 09:36:36 +09:00
1 changed files with 0 additions and 9 deletions
Showing only changes of commit b6ea177409 - Show all commits

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> {