mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-27 14:39:51 -08:00
Fix: Use .destroy() instead of .end()
This commit is contained in:
parent
0197778af1
commit
e1f956879d
|
@ -323,7 +323,7 @@ exports.mysqlQuery = function (connectionString, query) {
|
||||||
reject(err);
|
reject(err);
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
connection.end();
|
connection.destroy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue