Merge branch 'main' of http://39.117.244.52:3000/kjs/ERP-node into common/feat/dashboard-map

This commit is contained in:
dohyeons
2025-12-11 16:32:15 +09:00

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