Skip to content

Commit

Permalink
Merge pull request #2729 from chakflying/patch-1
Browse files Browse the repository at this point in the history
Fix [MySQL monitor]: Fix error when connection failed
  • Loading branch information
louislam authored Feb 7, 2023
2 parents 0197778 + e1f9568 commit e241728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/util-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ exports.mysqlQuery = function (connectionString, query) {
reject(err);
})
.finally(() => {
connection.end();
connection.destroy();
});
});
};
Expand Down

0 comments on commit e241728

Please sign in to comment.