fix: Too many connections

This commit is contained in:
Siwoo Jeon 2024-06-14 20:46:42 +09:00
parent b2742af957
commit 304f7e557d
Signed by: migan
GPG key ID: C4151385FFD2082A
2 changed files with 2 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "muffinbot", "name": "muffinbot",
"version": "2.0.0-oreo.p240608a", "version": "2.0.0-oreo.r240614a",
"main": "dist/index.js", "main": "dist/index.js",
"private": true, "private": true,
"dependencies": { "dependencies": {

View file

@ -22,9 +22,6 @@ export class MaaDatabase {
} }
public async ping() { public async ping() {
this._database.getConnection().then(conn => { this._database.ping()
conn.ping()
conn.release()
})
} }
} }