Merge pull request #2729 from chakflying/patch-1

Fix [MySQL monitor]: Fix error when connection failed
pull/3215/head
Louis Lam 2 years ago committed by GitHub
commit e241728419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -323,7 +323,7 @@ exports.mysqlQuery = function (connectionString, query) {
reject(err);
})
.finally(() => {
connection.end();
connection.destroy();
});
});
};

Loading…
Cancel
Save