mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
cleannnn
This commit is contained in:
1 parent
05fb38aabd
commit
bc1fe82919
43 files changed
+122
-1784
No files matched your search
@@ -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);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user