fix: Too many connections
This commit is contained in:
parent
b2742af957
commit
304f7e557d
2 changed files with 2 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "muffinbot",
|
||||
"version": "2.0.0-oreo.p240608a",
|
||||
"version": "2.0.0-oreo.r240614a",
|
||||
"main": "dist/index.js",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -22,9 +22,6 @@ export class MaaDatabase {
|
|||
}
|
||||
|
||||
public async ping() {
|
||||
this._database.getConnection().then(conn => {
|
||||
conn.ping()
|
||||
conn.release()
|
||||
})
|
||||
this._database.ping()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue