1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-24 08:32:23 +02:00

Close the client postgresql connection after rejection. (#4084)

Co-authored-by: Manuel Vázquez Acosta <manuel@merchise.org>
This commit is contained in:
Louis Lam 2023-11-22 19:50:03 +08:00 committed by GitHub
parent bf58838b89
commit 8e61158758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -458,6 +458,7 @@ exports.postgresQuery = function (connectionString, query) {
});
} catch (e) {
reject(e);
client.end();
}
}
});