Update server/util-server.js

Co-authored-by: Frank Elsinga <frank@elsinga.de>
pull/3234/head
kefoster951 1 year ago committed by GitHub
parent 8897385690
commit d37c33ad42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -416,7 +416,7 @@ exports.redisPingAsync = function (dsn) {
url: dsn
});
client.on("error", (err) => {
client.disconnect();
if (client.isOpen) client.disconnect();
reject(err);
});
client.connect().then(() => {

Loading…
Cancel
Save