This commit is contained in:
NoLogicAlan committed 2026-05-20 22:32:39 +03:00
1 parent 05fb38aabd
commit bc1fe82919
43 files changed
+122 -1784

No files matched your search

-2
View File
@@ -15,8 +15,6 @@ export class DatabaseManager {
connectionLimit: 15,
...config,
});
// Without this listener, unhandled pool-level errors (connection drops,
// timeouts) fire an unhandled 'error' event which crashes the process.
this.db.on("error", (err) => {
logger.error("[DashboardDB] MySQL pool error:", err.code ?? err.message);
});